public interface IdGeneration
| Modifier and Type | Field and Description |
|---|---|
static IdGeneration |
DEFAULT
A default instance working for many databases and equivalent to Spring Data JDBCs behavior before version 2.1.
|
| Modifier and Type | Method and Description |
|---|---|
default boolean |
driverRequiresKeyColumnNames()
Does the driver require the specification of those columns for which a generated id shall be returned.
|
default boolean |
supportedForBatchOperations()
Does the driver support id generation for batch operations.
|
static final IdGeneration DEFAULT
default boolean driverRequiresKeyColumnNames()
This should be false for most dialects. One notable exception is Oracle.
Connection.prepareStatement(String, String[])default boolean supportedForBatchOperations()
This should be true for most dialects, except DB2 and SqlServer.
Statement.getGeneratedKeys()Copyright © 2017–2023 Pivotal Software, Inc.. All rights reserved.