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