Package org.hibernate.id.insert
Contains a framework of strategies for retrieving database-generated ids.
- See Also:
InsertGeneratedIdentifierDelegate
-
Interface Summary Interface Description Binder InsertGeneratedIdentifierDelegate Each implementation defines a strategy for retrieving a primary key generated by the database from the database after execution of aninsert
statement. -
Class Summary Class Description AbstractReturningDelegate AbstractInsertGeneratedIdentifierDelegate
implementation where the underlying strategy causes the generated identifier to be returned as an effect of performing the insert statement.AbstractSelectingDelegate AbstractInsertGeneratedIdentifierDelegate
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 withIDENTITY
columns using the JDBC3 methodStatement.getGeneratedKeys()
.IdentifierGeneratingInsert Nothing more than a distinguishing subclass ofInsert
used to indicate intent.InsertReturningDelegate Delegate for dealing withIDENTITY
columns where the dialect supports returning the generatedIDENTITY
value directly from the insert statement.InsertSelectIdentityInsert SpecializedIdentifierGeneratingInsert
which appends the database specific clause which signifies to return generatedIDENTITY
values to the end of the insert statement.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.