javax.persistence.EnumType#ORDINAL strategy (storing the ordinal)
| Modifier and Type | Field and Description |
|---|---|
| private final EnumJavaTypeDescriptor | |
| private transient ValueBinder | |
| private transient ValueExtractor |
| Access | Constructor and Description |
|---|---|
| public |
| enumJavaDescriptor | back to summary |
|---|---|
| private final EnumJavaTypeDescriptor<E> enumJavaDescriptor | |
| valueBinder | back to summary |
|---|---|
| private transient ValueBinder<Integer> valueBinder | |
| valueExtractor | back to summary |
|---|---|
| private transient ValueExtractor<E> valueExtractor | |
| OrdinalEnumValueConverter | back to summary |
|---|---|
| public OrdinalEnumValueConverter(EnumJavaTypeDescriptor<E> enumJavaDescriptor) | |
| createValueBinder | back to summary |
|---|---|
| private static ValueBinder | |
| createValueExtractor | back to summary |
|---|---|
| private static <T extends Enum | |
| getJavaDescriptor | back to summary |
|---|---|
| public EnumJavaTypeDescriptor Implements org.
| |
| getJdbcTypeCode | back to summary |
|---|---|
| public int getJdbcTypeCode() Implements org.
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream stream) throws ClassNotFoundException, IOException | |
| readValue | back to summary |
|---|---|
| public E readValue(ResultSet resultSet, String name, SharedSessionContractImplementor session) throws SQLException Implements org.
| |
| toDomainValue | back to summary |
|---|---|
| public E toDomainValue(Integer relationalForm) Implements org. Doc from org. Convert the relational form just retrieved from JDBC ResultSet into the domain form.
| |
| toRelationalValue | back to summary |
|---|---|
| public Integer toRelationalValue(E domainForm) Implements org. Doc from org. Convert the domain form into the relational form in preparation for storage into JDBC
| |
| toSqlLiteral | back to summary |
|---|---|
| public String toSqlLiteral(Object value) Implements org.
| |
| writeValue | back to summary |
|---|---|
| public void writeValue(PreparedStatement statement, E value, int position, SharedSessionContractImplementor session) throws SQLException Implements org.
| |