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 class
static class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Serializable
Deprecated, 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 BigDecimal
static BigInteger
static long
extractLong
(IntegralDataTypeHolder holder) static Object
getForeignId
(String entityName, String propertyName, SharedSessionContractImplementor sessionImplementor, Object object) static IntegralDataTypeHolder
getIntegralDataTypeHolder
(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
-
extractLong
-
extractBigInteger
-
extractBigDecimal
-
getNamingStrategy
public static ImplicitDatabaseObjectNamingStrategy getNamingStrategy(Properties params, ServiceRegistry serviceRegistry)
-