Merge branch '6.0.x'
This commit is contained in:
commit
d77595bf2c
|
@ -164,8 +164,7 @@ public interface DatabaseClient extends ConnectionAccessor {
|
||||||
interface GenericExecuteSpec {
|
interface GenericExecuteSpec {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bind a non-{@code null} value to a parameter identified by its
|
* Bind a non-{@code null} value to a parameter identified by its {@code index}.
|
||||||
* {@code index}. {@code value} can be either a scalar value or {@link io.r2dbc.spi.Parameter}.
|
|
||||||
* @param index zero based index to bind the parameter to
|
* @param index zero based index to bind the parameter to
|
||||||
* @param value either a scalar value or a {@link io.r2dbc.spi.Parameter}
|
* @param value either a scalar value or a {@link io.r2dbc.spi.Parameter}
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -284,7 +284,6 @@ final class DefaultDatabaseClient implements DatabaseClient {
|
||||||
return new DefaultGenericExecuteSpec(byIndex, this.byName, this.sqlSupplier, this.filterFunction);
|
return new DefaultGenericExecuteSpec(byIndex, this.byName, this.sqlSupplier, this.filterFunction);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("deprecation")
|
|
||||||
@Override
|
@Override
|
||||||
public DefaultGenericExecuteSpec bind(String name, Object value) {
|
public DefaultGenericExecuteSpec bind(String name, Object value) {
|
||||||
assertNotPreparedOperation();
|
assertNotPreparedOperation();
|
||||||
|
|
Loading…
Reference in New Issue