public class PostgreSQLIntervalType extends ImmutableType<Duration>
Duration object type to a PostgreSQL Interval column type.
| Modifier and Type | Field and Description |
|---|---|
static PostgreSQLIntervalType |
INSTANCE |
| Constructor and Description |
|---|
PostgreSQLIntervalType() |
| Modifier and Type | Method and Description |
|---|---|
protected Duration |
get(ResultSet rs,
String[] names,
org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object owner) |
protected void |
set(PreparedStatement st,
Duration value,
int index,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
int[] |
sqlTypes() |
assemble, deepCopy, disassemble, equals, getConfiguration, hashCode, isMutable, nullSafeGet, nullSafeSet, replace, returnedClasspublic static final PostgreSQLIntervalType INSTANCE
protected Duration get(ResultSet rs, String[] names, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) throws SQLException
get in class ImmutableType<Duration>SQLExceptionprotected void set(PreparedStatement st, Duration value, int index, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws SQLException
set in class ImmutableType<Duration>SQLExceptionpublic int[] sqlTypes()
Copyright © 2019. All rights reserved.