Class AbstractJsonJdbcTypeDescriptor

java.lang.Object
io.hypersistence.utils.hibernate.type.json.internal.AbstractJsonJdbcTypeDescriptor
All Implemented Interfaces:
Serializable, org.hibernate.type.descriptor.jdbc.JdbcType
Direct Known Subclasses:
JsonBinaryJdbcTypeDescriptor, JsonBlobJdbcTypeDescriptor, JsonBytesJdbcTypeDescriptor, JsonJdbcTypeDescriptor, JsonStringJdbcTypeDescriptor

public abstract class AbstractJsonJdbcTypeDescriptor extends Object implements org.hibernate.type.descriptor.jdbc.JdbcType
Author:
Vlad Mihalcea
See Also:
  • Constructor Details

    • AbstractJsonJdbcTypeDescriptor

      public AbstractJsonJdbcTypeDescriptor()
  • Method Details

    • getJdbcTypeCode

      public int getJdbcTypeCode()
      Specified by:
      getJdbcTypeCode in interface org.hibernate.type.descriptor.jdbc.JdbcType
    • getExtractor

      public <X> org.hibernate.type.descriptor.ValueExtractor<X> getExtractor(org.hibernate.type.descriptor.java.JavaType<X> javaType)
      Specified by:
      getExtractor in interface org.hibernate.type.descriptor.jdbc.JdbcType
    • extractJson

      protected Object extractJson(ResultSet rs, int paramIndex) 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