Package org.hibernate.id
Class IdentifierGeneratorHelper
java.lang.Object
org.hibernate.id.IdentifierGeneratorHelper
Factory and helper methods for
IdentifierGenerator framework.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SerializableDeprecated, for removal: This API element is subject to removal in a future version.This is not an elegant way to do anything -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectgetForeignId(String entityName, String propertyName, SharedSessionContractImplementor sessionImplementor, Object object) static IntegralDataTypeHoldergetIntegralDataTypeHolder(Class<?> integralType) getNamingStrategy(Properties params, ServiceRegistry serviceRegistry)
-
Field Details
-
SHORT_CIRCUIT_INDICATOR
Deprecated, for removal: This API element is subject to removal in a future version.This is not an elegant way to do anythingMarker object returned fromIdentifierGenerator.generate(org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object)to indicate that we should short-circuit any continued generated id checking. Currently, this is only used in the case of the foreign generator as a way to signal that we should use the associated entity's id value.
-
-
Method Details
-
getIntegralDataTypeHolder
-
getNamingStrategy
public static ImplicitDatabaseObjectNamingStrategy getNamingStrategy(Properties params, ServiceRegistry serviceRegistry)
-