Package org.hibernate.id.insert
package org.hibernate.id.insert
Contains a framework of strategies for retrieving database-generated ids.
- See Also:
-
ClassDescriptionAbstract
GeneratedValuesMutationDelegateimplementation where the underlying strategy causes the generated identifier to be returned as an effect of performing the insert statement.AbstractGeneratedValuesMutationDelegateimplementation where the underlying strategy requires a subsequentselectafter theinsertto determine the generated identifier.Delegate for dealing withIDENTITYcolumns where the dialect requires an additional command execution to retrieve the generatedIDENTITYvalueDelegate for dealing with generated values using the JDBC3 methodStatement.getGeneratedKeys().Nothing more than a distinguishing subclass ofInsertused to indicate intent.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.Deprecated.This is not used anymore in any of theGeneratedValuesMutationDelegateimplementations.SpecializedIdentifierGeneratingInsertwhich appends the database specific clause which signifies to return generatedIDENTITYvalues to the end of the insert statement.Uses a unique key of the inserted entity to locate the newly inserted row.
GeneratedValuesMutationDelegateinstead.