Class PostgreSQLEnumJdbcType

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

public class PostgreSQLEnumJdbcType extends Object implements JdbcType
Represents a named enum type on PostgreSQL.

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

 @JdbcTypeCode(SqlTypes.NAMED_ENUM)
 
See Also: