Interface EnumValueConverter<O extends Enum<O>,R>
-
- All Superinterfaces:
BasicValueConverter<O,R>
- All Known Implementing Classes:
NamedEnumValueConverter
,OrdinalEnumValueConverter
public interface EnumValueConverter<O extends Enum<O>,R> extends BasicValueConverter<O,R>
BasicValueConverter extension for enum-specific support
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description EnumJavaType<O>
getDomainJavaType()
Descriptor for the Java type for the domain portion of this converterint
getJdbcTypeCode()
String
toSqlLiteral(Object value)
void
writeValue(PreparedStatement statement, O value, int position, SharedSessionContractImplementor session)
Deprecated.Added temporarily in support of dual SQL execution until fully migrated toSelectStatement
andJdbcOperation
-
Methods inherited from interface org.hibernate.metamodel.model.convert.spi.BasicValueConverter
getRelationalJavaType, toDomainValue, toRelationalValue
-
-
-
-
Method Detail
-
getDomainJavaType
EnumJavaType<O> getDomainJavaType()
Description copied from interface:BasicValueConverter
Descriptor for the Java type for the domain portion of this converter- Specified by:
getDomainJavaType
in interfaceBasicValueConverter<O extends Enum<O>,R>
-
getJdbcTypeCode
int getJdbcTypeCode()
-
writeValue
@Deprecated void writeValue(PreparedStatement statement, O value, int position, SharedSessionContractImplementor session) throws SQLException
Deprecated.Added temporarily in support of dual SQL execution until fully migrated toSelectStatement
andJdbcOperation
- Throws:
SQLException
- Since:
- 6.0
-
-