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 Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Object
    extractJson(CallableStatement statement, int index)
     
    protected Object
     
    protected Object
    extractJson(ResultSet rs, int paramIndex)
     
    <X> org.hibernate.type.descriptor.ValueExtractor<X>
    getExtractor(org.hibernate.type.descriptor.java.JavaType<X> javaType)
     
    int
     

    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.jdbc.JdbcType

    addAuxiliaryDatabaseObjects, addAuxiliaryDatabaseObjects, appendWriteExpression, getBinder, getCastType, getCheckCondition, getDdlTypeCode, getDefaultSqlTypeCode, getExtraCreateTableInfo, getFriendlyName, getJdbcLiteralFormatter, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClass, isBinary, isDecimal, isDuration, isFloat, isInteger, isInterval, isLob, isLobOrLong, isNationalized, isNumber, isString, isStringLike, isTemporal, registerOutParameter, registerOutParameter, wrapTopLevelSelectionExpression, wrapWriteExpression
  • 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