Interface JpaAttributeConverter<O,R>
- Type Parameters:
O- The entity attribute typeR- The converted type
- All Superinterfaces:
BasicValueConverter<O,R>
- All Known Implementing Classes:
AttributeConverterBean
Adapts a JPA-standard
AttributeConverter to the native
BasicValueConverter.-
Method Summary
Modifier and TypeMethodDescriptionManagedBean<? extends AttributeConverter<O, R>> AManagedBeanrepresenting the JPAAttributeConverter, in the case that the converter is a managed bean, e.g., a CDI bean.JavaType<? extends AttributeConverter<O, R>> AJavaTyperepresenting 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()AJavaTyperepresenting the JPAAttributeConverter. -
getConverterBean
ManagedBean<? extends AttributeConverter<O,R>> getConverterBean()AManagedBeanrepresenting the JPAAttributeConverter, in the case that the converter is a managed bean, e.g., a CDI bean.
-