Package org.hibernate.id.insert
Contains a framework of strategies for retrieving database-generated ids.
- See Also:
InsertGeneratedIdentifierDelegate
-
Interface Summary Interface Description Binder InsertGeneratedIdentifierDelegate Deprecated, for removal: This API element is subject to removal in a future version. UseGeneratedValuesMutationDelegate
instead. -
Class Summary Class Description AbstractReturningDelegate AbstractGeneratedValuesMutationDelegate
implementation where the underlying strategy causes the generated identifier to be returned as an effect of performing the insert statement.AbstractSelectingDelegate AbstractGeneratedValuesMutationDelegate
implementation where the underlying strategy requires a subsequentselect
after theinsert
to determine the generated identifier.BasicSelectingDelegate Delegate for dealing withIDENTITY
columns where the dialect requires an additional command execution to retrieve the generatedIDENTITY
valueGetGeneratedKeysDelegate Delegate for dealing with generated values using the JDBC3 methodStatement.getGeneratedKeys()
.IdentifierGeneratingInsert Nothing more than a distinguishing subclass ofInsert
used to indicate intent.InsertReturningDelegate Delegate for dealing with generated values where the dialect supports returning the generated column directly from the mutation statement.InsertSelectIdentityInsert Deprecated. This is not used anymore in any of theGeneratedValuesMutationDelegate
implementations.SybaseJConnGetGeneratedKeysDelegate SpecializedIdentifierGeneratingInsert
which appends the database specific clause which signifies to return generatedIDENTITY
values to the end of the insert statement.TableInsertReturningBuilder UniqueKeySelectingDelegate Uses a unique key of the inserted entity to locate the newly inserted row.