public interface EnumValueConverter<O extends Enum,R> extends BasicValueConverter<O,R>
| Modifier and Type | Method and Description |
|---|---|
EnumJavaTypeDescriptor<O> |
getJavaDescriptor() |
int |
getJdbcTypeCode() |
O |
readValue(ResultSet resultSet,
String name,
SharedSessionContractImplementor session) |
String |
toSqlLiteral(Object value) |
void |
writeValue(PreparedStatement statement,
O value,
int position,
SharedSessionContractImplementor session) |
toDomainValue, toRelationalValueEnumJavaTypeDescriptor<O> getJavaDescriptor()
int getJdbcTypeCode()
O readValue(ResultSet resultSet, String name, SharedSessionContractImplementor session) throws SQLException
SQLExceptionvoid writeValue(PreparedStatement statement, O value, int position, SharedSessionContractImplementor session) throws SQLException
SQLExceptionCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.