Class PostgreSQLEnumJdbcType

java.lang.Object
org.hibernate.dialect.PostgreSQLPGObjectJdbcType
io.hypersistence.utils.hibernate.type.basic.PostgreSQLEnumJdbcType
All Implemented Interfaces:
Serializable, org.hibernate.type.descriptor.jdbc.JdbcType

public class PostgreSQLEnumJdbcType extends org.hibernate.dialect.PostgreSQLPGObjectJdbcType
Maps an Enum to a PostgreSQL ENUM column type.

For more details about how to use it, check out this article on vladmihalcea.com.

Author:
Vlad Mihalcea
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class org.hibernate.dialect.PostgreSQLPGObjectJdbcType

    fromString, getBinder, getDefaultSqlTypeCode, getExtractor, getJdbcLiteralFormatter, getJdbcTypeCode, isUsable, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.type.descriptor.jdbc.JdbcType

    getCastType, getFriendlyName, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClass, isBinary, isDecimal, isFloat, isInteger, isInterval, isNumber, isString, isTemporal
  • Constructor Details

    • PostgreSQLEnumJdbcType

      public PostgreSQLEnumJdbcType(String enumClass)