public class PostgreSQLEnumType
extends org.hibernate.type.EnumType
Enum to a PostgreSQL ENUM column type.
For more details about how to use it, check out this article on vladmihalcea.com.
| Modifier and Type | Field and Description |
|---|---|
static PostgreSQLEnumType |
INSTANCE |
| Constructor and Description |
|---|
PostgreSQLEnumType() |
| Modifier and Type | Method and Description |
|---|---|
void |
nullSafeSet(PreparedStatement st,
Object value,
int index,
org.hibernate.engine.spi.SessionImplementor session) |
public static final PostgreSQLEnumType INSTANCE
public void nullSafeSet(PreparedStatement st, Object value, int index, org.hibernate.engine.spi.SessionImplementor session) throws org.hibernate.HibernateException, SQLException
nullSafeSet in interface org.hibernate.usertype.UserTypenullSafeSet in class org.hibernate.type.EnumTypeorg.hibernate.HibernateExceptionSQLExceptionCopyright © 2018. All rights reserved.