Package org.hibernate.type
Class BasicTypeRegistry
java.lang.Object
org.hibernate.type.BasicTypeRegistry
- All Implemented Interfaces:
Serializable
A registry of
BasicType
instances- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPrimeEntry
(BasicType<?> type, String legacyTypeClassName, String[] registrationKeys) void
addPrimeEntry
(BasicTypeReference<?> type, String legacyTypeClassName, String[] registrationKeys) void
addTypeReferenceRegistrationKey
(String typeReferenceKey, String... additionalTypeReferenceKeys) <J> BasicType<J>
getRegisteredType
(Class<J> javaType) <J> BasicType<J>
getRegisteredType
(Type javaType) <J> BasicType<J>
getRegisteredType
(String key) boolean
isPrimed()
void
primed()
void
void
void
<T> CustomType<T>
<J> BasicType<J>
<J> BasicType<J>
<J> BasicType<J>
resolve
(BasicTypeReference<J> basicTypeReference) <J> BasicType<J>
<J> BasicType<J>
<J> BasicType<J>
<J> BasicType<J>
Find an existing BasicType registration for the given JavaType and JdbcType combo or create (and register) one.void
unregister
(String... keys)
-
Constructor Details
-
BasicTypeRegistry
-
-
Method Details
-
getRegisteredType
-
getRegisteredType
-
getRegisteredType
-
resolve
-
resolve
-
resolve
-
resolve
-
resolve
-
resolve
-
resolve
public <J> BasicType<J> resolve(JavaType<J> javaType, JdbcType jdbcType, Supplier<BasicType<J>> creator) Find an existing BasicType registration for the given JavaType and JdbcType combo or create (and register) one. -
register
-
register
-
register
-
register
-
unregister
-
addTypeReferenceRegistrationKey
-
isPrimed
public boolean isPrimed() -
primed
public void primed() -
addPrimeEntry
-
addPrimeEntry
public void addPrimeEntry(BasicTypeReference<?> type, String legacyTypeClassName, String[] registrationKeys)
-