public class PostgreSQLRangeType extends ImmutableType<Range>
Range object type to a PostgreSQL range
column type.
Supported range types:
For more details about how to use it, check out this article on vladmihalcea.com.
| Modifier and Type | Field and Description |
|---|---|
static PostgreSQLRangeType |
INSTANCE |
| Constructor and Description |
|---|
PostgreSQLRangeType() |
| Modifier and Type | Method and Description |
|---|---|
protected Range |
get(ResultSet rs,
String[] names,
org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object owner) |
protected void |
set(PreparedStatement st,
Range range,
int index,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
int[] |
sqlTypes() |
assemble, deepCopy, disassemble, equals, getConfiguration, hashCode, isMutable, nullSafeGet, nullSafeSet, replace, returnedClasspublic static final PostgreSQLRangeType INSTANCE
public int[] sqlTypes()
protected Range get(ResultSet rs, String[] names, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) throws SQLException
get in class ImmutableType<Range>SQLExceptionprotected void set(PreparedStatement st, Range range, int index, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws SQLException
set in class ImmutableType<Range>SQLExceptionCopyright © 2019. All rights reserved.