Package org.hibernate.id.insert
package org.hibernate.id.insert
Contains a framework of strategies for retrieving database-generated ids.
- See Also:
-
ClassDescriptionAbstract
GeneratedValuesMutationDelegate
implementation where the underlying strategy causes the generated identifier to be returned as an effect of performing the insert statement.AbstractGeneratedValuesMutationDelegate
implementation where the underlying strategy requires a subsequentselect
after theinsert
to determine the generated identifier.Delegate for dealing withIDENTITY
columns where the dialect requires an additional command execution to retrieve the generatedIDENTITY
valueDelegate for dealing with generated values using the JDBC3 methodStatement.getGeneratedKeys()
.Deprecated, for removal: This API element is subject to removal in a future version.Delegate for dealing with generated values where the dialect supports returning the generated column directly from the mutation statement.SpecializedGetGeneratedKeysDelegate
which appends the database specific clause which signifies to return generatedIDENTITY
values to the end of the insert statement.Uses a unique key of the inserted entity to locate the newly inserted row.
GeneratedValuesMutationDelegate
instead.