com.vladmihalcea.hibernate.type.json.internal
Class JsonSqlTypeDescriptor

java.lang.Object
  extended by com.vladmihalcea.hibernate.type.json.internal.AbstractJsonSqlTypeDescriptor
      extended by com.vladmihalcea.hibernate.type.json.internal.JsonSqlTypeDescriptor
All Implemented Interfaces:
Serializable, org.hibernate.type.descriptor.sql.SqlTypeDescriptor

public class JsonSqlTypeDescriptor
extends AbstractJsonSqlTypeDescriptor

Author:
Vlad Mihalcea
See Also:
Serialized Form

Constructor Summary
JsonSqlTypeDescriptor()
           
 
Method Summary
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)
           
 
Methods inherited from class com.vladmihalcea.hibernate.type.json.internal.AbstractJsonSqlTypeDescriptor
canBeRemapped, getExtractor, getSqlType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonSqlTypeDescriptor

public JsonSqlTypeDescriptor()
Method Detail

getBinder

public <X> org.hibernate.type.descriptor.ValueBinder<X> getBinder(org.hibernate.type.descriptor.java.JavaTypeDescriptor<X> javaTypeDescriptor)

extractJson

protected Object extractJson(ResultSet rs,
                             String name)
                      throws SQLException
Overrides:
extractJson in class AbstractJsonSqlTypeDescriptor
Throws:
SQLException

extractJson

protected Object extractJson(CallableStatement statement,
                             int index)
                      throws SQLException
Overrides:
extractJson in class AbstractJsonSqlTypeDescriptor
Throws:
SQLException

extractJson

protected Object extractJson(CallableStatement statement,
                             String name)
                      throws SQLException
Overrides:
extractJson in class AbstractJsonSqlTypeDescriptor
Throws:
SQLException


Copyright © 2021. All rights reserved.