Class PostgreSQLOrdinalEnumJdbcType

java.lang.Object
org.hibernate.dialect.PostgreSQLEnumJdbcType
org.hibernate.dialect.PostgreSQLOrdinalEnumJdbcType
All Implemented Interfaces:
Serializable, JdbcType

public class PostgreSQLOrdinalEnumJdbcType extends PostgreSQLEnumJdbcType
Represents a named enum type on PostgreSQL.

Hibernate does not automatically use this for enums mapped as EnumType.ORDINAL, and instead this type must be explicitly requested using:

 @JdbcTypeCode(SqlTypes.NAMED_ORDINAL_ENUM)
 
See Also: