File tree Expand file tree Collapse file tree 2 files changed +2
-19
lines changed
src/main/java/oracle/r2dbc/impl Expand file tree Collapse file tree 2 files changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -196,9 +196,8 @@ public <T> Publisher<T> flatMap(
196196 * </p>
197197 */
198198 @ Override
199- public Publisher <Integer > getRowsUpdated () {
200- return publishSegments (UpdateCount .class ,
201- updateCount -> Math .toIntExact (updateCount .value ()));
199+ public Publisher <Long > getRowsUpdated () {
200+ return publishSegments (UpdateCount .class , UpdateCount ::value );
202201 }
203202
204203 /**
Original file line number Diff line number Diff line change @@ -237,22 +237,6 @@ public List<? extends ColumnMetadata> getColumnMetadatas() {
237237 public boolean contains (String columnName ) {
238238 return getColumnIndex (columnName ) != -1 ;
239239 }
240-
241- /**
242- * {@inheritDoc}
243- * <p>
244- * Implements the R2DBC SPI method by returning a view of the column metadata
245- * objects, with each list entry mapped to {@link ColumnMetadata#getName()}.
246- * As specified by the SPI method documentation, the returned collection is
247- * unmodifiable, imposes the same column ordering as the query result, and
248- * supports case insensitive look ups.
249- * </p>
250- */
251- @ Override
252- public Collection <String > getColumnNames () {
253- throw new UnsupportedOperationException (
254- "This method is deprecated for removal" );
255- }
256240 }
257241
258242 static final class OutParametersMetadataImpl
You can’t perform that action at this time.
0 commit comments