public class JsonStringSqlTypeDescriptor extends AbstractJsonSqlTypeDescriptor
Modifier and Type | Field and Description |
---|---|
static JsonStringSqlTypeDescriptor |
INSTANCE |
Constructor and Description |
---|
JsonStringSqlTypeDescriptor() |
Modifier and Type | Method and Description |
---|---|
protected Object |
extractJson(CallableStatement statement,
int index) |
protected Object |
extractJson(CallableStatement statement,
String name) |
protected Object |
extractJson(ResultSet rs,
String name) |
<X> org.hibernate.type.descriptor.ValueBinder<X> |
getBinder(org.hibernate.type.descriptor.java.JavaTypeDescriptor<X> javaTypeDescriptor) |
int |
getSqlType() |
canBeRemapped, getExtractor
public static final JsonStringSqlTypeDescriptor INSTANCE
public int getSqlType()
getSqlType
in interface org.hibernate.type.descriptor.sql.SqlTypeDescriptor
getSqlType
in class AbstractJsonSqlTypeDescriptor
public <X> org.hibernate.type.descriptor.ValueBinder<X> getBinder(org.hibernate.type.descriptor.java.JavaTypeDescriptor<X> javaTypeDescriptor)
protected Object extractJson(ResultSet rs, String name) throws SQLException
extractJson
in class AbstractJsonSqlTypeDescriptor
SQLException
protected Object extractJson(CallableStatement statement, int index) throws SQLException
extractJson
in class AbstractJsonSqlTypeDescriptor
SQLException
protected Object extractJson(CallableStatement statement, String name) throws SQLException
extractJson
in class AbstractJsonSqlTypeDescriptor
SQLException
Copyright © 2022. All rights reserved.