Package org.hibernate.type
Class BasicTypeReference<T>
java.lang.Object
org.hibernate.type.BasicTypeReference<T>
- All Implemented Interfaces:
Type<T>,Serializable,BindableType<T>
A basic type reference.
- See Also:
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.persistence.metamodel.Type
Type.PersistenceTypeConstructor Summary
ConstructorsConstructorDescriptionBasicTypeReference(String name,Class<? extendsT> javaType, int sqlTypeCode) BasicTypeReference(String name,Class<? extendsT> javaType, int sqlTypeCode,BasicValueConverter<T, ?> converter) Method Summary
Modifier and TypeMethodDescriptiongetName()intbooleanresolveExpressible(BindingContext bindingContext) Resolve this parameter type to the correspondingSqmBindableType.
Constructor Details
BasicTypeReference
BasicTypeReference
public BasicTypeReference(String name,Class<? extendsT> javaType, int sqlTypeCode,BasicValueConverter<T, ?> converter)
Method Details
getName
getJavaType
- Specified by:
getJavaTypein interfaceType<T>
getPersistenceType
- Specified by:
getPersistenceTypein interfaceType<T>
getSqlTypeCode
public int getSqlTypeCode()getConverter
isForceImmutable
public boolean isForceImmutable()asImmutable
resolveExpressible
Description copied from interface:BindableTypeResolve this parameter type to the correspondingSqmBindableType.- Specified by:
resolveExpressiblein interfaceBindableType<T>