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) |
String |
toSqlLiteral(Object value) |
void |
writeValue(PreparedStatement statement,
O value,
int position) |
toDomainValue, toRelationalValue
EnumJavaTypeDescriptor<O> getJavaDescriptor()
int getJdbcTypeCode()
O readValue(ResultSet resultSet, String name) throws SQLException
SQLException
void writeValue(PreparedStatement statement, O value, int position) throws SQLException
SQLException
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.