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. UseGeneratedValuesMutationDelegateinstead.Class Summary Class Description AbstractReturningDelegate AbstractGeneratedValuesMutationDelegateimplementation where the underlying strategy causes the generated identifier to be returned as an effect of performing the insert statement.AbstractSelectingDelegate AbstractGeneratedValuesMutationDelegateimplementation where the underlying strategy requires a subsequentselectafter theinsertto determine the generated identifier.BasicSelectingDelegate Delegate for dealing withIDENTITYcolumns where the dialect requires an additional command execution to retrieve the generatedIDENTITYvalueGetGeneratedKeysDelegate Delegate for dealing with generated values using the JDBC3 methodStatement.getGeneratedKeys().IdentifierGeneratingInsert Nothing more than a distinguishing subclass ofInsertused 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 theGeneratedValuesMutationDelegateimplementations.SybaseJConnGetGeneratedKeysDelegate SpecializedIdentifierGeneratingInsertwhich appends the database specific clause which signifies to return generatedIDENTITYvalues to the end of the insert statement.TableInsertReturningBuilder UniqueKeySelectingDelegate Uses a unique key of the inserted entity to locate the newly inserted row.