Interface JpaAttributeConverter<O,R>
- Type Parameters:
O
- The entity attribute typeR
- The converted type
- All Superinterfaces:
BasicValueConverter<O,
R>
- All Known Implementing Classes:
JpaAttributeConverterImpl
Adapts a JPA-standard
AttributeConverter
to the native
BasicValueConverter
.-
Method Summary
Modifier and TypeMethodDescriptionManagedBean<? extends AttributeConverter<O,
R>> AManagedBean
representing the JPAAttributeConverter
, in the case that the converter is a managed bean, e.g., a CDI bean.JavaType<? extends AttributeConverter<O,
R>> AJavaType
representing the JPAAttributeConverter
.Methods inherited from interface org.hibernate.type.descriptor.converter.spi.BasicValueConverter
getDomainJavaType, getRelationalJavaType, toDomainValue, toRelationalValue
-
Method Details
-
getConverterJavaType
JavaType<? extends AttributeConverter<O,R>> getConverterJavaType()AJavaType
representing the JPAAttributeConverter
. -
getConverterBean
ManagedBean<? extends AttributeConverter<O,R>> getConverterBean()AManagedBean
representing the JPAAttributeConverter
, in the case that the converter is a managed bean, e.g., a CDI bean.
-