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,JsonClobJdbcTypeDescriptor,JsonJdbcTypeDescriptor,JsonStringJdbcTypeDescriptor
public abstract class AbstractJsonJdbcTypeDescriptor
extends Object
implements org.hibernate.type.descriptor.jdbc.JdbcType
- Author:
- Vlad Mihalcea
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectextractJson(CallableStatement statement, int index) protected ObjectextractJson(CallableStatement statement, String name) protected ObjectextractJson(ResultSet rs, int paramIndex) <X> org.hibernate.type.descriptor.ValueExtractor<X>getExtractor(org.hibernate.type.descriptor.java.JavaType<X> javaType) intMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.type.descriptor.jdbc.JdbcType
getBinder, getCastType, getDefaultSqlTypeCode, getFriendlyName, getJdbcLiteralFormatter, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClass, isBinary, isDecimal, isFloat, isInteger, isInterval, isNumber, isString, isTemporal
-
Constructor Details
-
AbstractJsonJdbcTypeDescriptor
public AbstractJsonJdbcTypeDescriptor()
-
-
Method Details
-
getJdbcTypeCode
public int getJdbcTypeCode()- Specified by:
getJdbcTypeCodein interfaceorg.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:
getExtractorin interfaceorg.hibernate.type.descriptor.jdbc.JdbcType
-
extractJson
- Throws:
SQLException
-
extractJson
- Throws:
SQLException
-
extractJson
- Throws:
SQLException
-