com.vladmihalcea.hibernate.type.json.internal
Class AbstractJsonSqlTypeDescriptor
java.lang.Object
com.vladmihalcea.hibernate.type.json.internal.AbstractJsonSqlTypeDescriptor
- All Implemented Interfaces:
- Serializable, org.hibernate.type.descriptor.sql.SqlTypeDescriptor
- Direct Known Subclasses:
- JsonBinarySqlTypeDescriptor, JsonBytesSqlTypeDescriptor, JsonSqlTypeDescriptor, JsonStringSqlTypeDescriptor
public abstract class AbstractJsonSqlTypeDescriptor
- extends Object
- implements org.hibernate.type.descriptor.sql.SqlTypeDescriptor
- Author:
- Vlad Mihalcea
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.hibernate.type.descriptor.sql.SqlTypeDescriptor |
getBinder |
AbstractJsonSqlTypeDescriptor
public AbstractJsonSqlTypeDescriptor()
getSqlType
public int getSqlType()
- Specified by:
getSqlType
in interface org.hibernate.type.descriptor.sql.SqlTypeDescriptor
canBeRemapped
public boolean canBeRemapped()
- Specified by:
canBeRemapped
in interface org.hibernate.type.descriptor.sql.SqlTypeDescriptor
getExtractor
public <X> org.hibernate.type.descriptor.ValueExtractor<X> getExtractor(org.hibernate.type.descriptor.java.JavaTypeDescriptor<X> javaTypeDescriptor)
- Specified by:
getExtractor
in interface org.hibernate.type.descriptor.sql.SqlTypeDescriptor
extractJson
protected Object extractJson(ResultSet rs,
String name)
throws SQLException
- Throws:
SQLException
extractJson
protected Object extractJson(CallableStatement statement,
int index)
throws SQLException
- Throws:
SQLException
extractJson
protected Object extractJson(CallableStatement statement,
String name)
throws SQLException
- Throws:
SQLException
Copyright © 2021. All rights reserved.