Class JsonStringJdbcTypeDescriptor
java.lang.Object
io.hypersistence.utils.hibernate.type.json.internal.AbstractJsonJdbcTypeDescriptor
io.hypersistence.utils.hibernate.type.json.internal.JsonStringJdbcTypeDescriptor
- All Implemented Interfaces:
Serializable,org.hibernate.type.descriptor.jdbc.JdbcType
- Author:
- Vlad Mihalcea
- See Also:
-
Field Summary
Fields -
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.ValueBinder<X>getBinder(org.hibernate.type.descriptor.java.JavaType<X> javaType) intMethods inherited from class io.hypersistence.utils.hibernate.type.json.internal.AbstractJsonJdbcTypeDescriptor
getExtractorMethods 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
getCastType, getDefaultSqlTypeCode, getFriendlyName, getJdbcLiteralFormatter, getJdbcRecommendedJavaTypeMapping, getPreferredJavaTypeClass, isBinary, isDecimal, isFloat, isInteger, isInterval, isNumber, isString, isTemporal
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
JsonStringJdbcTypeDescriptor
public JsonStringJdbcTypeDescriptor()
-
-
Method Details
-
getJdbcTypeCode
public int getJdbcTypeCode()- Specified by:
getJdbcTypeCodein interfaceorg.hibernate.type.descriptor.jdbc.JdbcType- Overrides:
getJdbcTypeCodein classAbstractJsonJdbcTypeDescriptor
-
getBinder
public <X> org.hibernate.type.descriptor.ValueBinder<X> getBinder(org.hibernate.type.descriptor.java.JavaType<X> javaType) -
extractJson
- Overrides:
extractJsonin classAbstractJsonJdbcTypeDescriptor- Throws:
SQLException
-
extractJson
- Overrides:
extractJsonin classAbstractJsonJdbcTypeDescriptor- Throws:
SQLException
-
extractJson
- Overrides:
extractJsonin classAbstractJsonJdbcTypeDescriptor- Throws:
SQLException
-