Class JsonJdbcTypeDescriptor
java.lang.Object
io.hypersistence.utils.hibernate.type.json.internal.AbstractJsonJdbcTypeDescriptor
io.hypersistence.utils.hibernate.type.json.internal.JsonJdbcTypeDescriptor
- All Implemented Interfaces:
Serializable,org.hibernate.type.descriptor.jdbc.JdbcType,org.hibernate.usertype.ParameterizedType
public class JsonJdbcTypeDescriptor
extends AbstractJsonJdbcTypeDescriptor
implements org.hibernate.usertype.ParameterizedType
- 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.ValueBinder<X>getBinder(org.hibernate.type.descriptor.java.JavaType<X> javaType) intvoidsetParameterValues(Properties parameters) Methods 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
addAuxiliaryDatabaseObjects, addAuxiliaryDatabaseObjects, appendWriteExpression, 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
-
JsonJdbcTypeDescriptor
public JsonJdbcTypeDescriptor() -
JsonJdbcTypeDescriptor
-
-
Method Details
-
getBinder
public <X> org.hibernate.type.descriptor.ValueBinder<X> getBinder(org.hibernate.type.descriptor.java.JavaType<X> javaType) - Specified by:
getBinderin interfaceorg.hibernate.type.descriptor.jdbc.JdbcType
-
extractJson
- Overrides:
extractJsonin classAbstractJsonJdbcTypeDescriptor- Throws:
SQLException
-
extractJson
- Overrides:
extractJsonin classAbstractJsonJdbcTypeDescriptor- Throws:
SQLException
-
extractJson
- Overrides:
extractJsonin classAbstractJsonJdbcTypeDescriptor- Throws:
SQLException
-
getJdbcTypeCode
public int getJdbcTypeCode()- Specified by:
getJdbcTypeCodein interfaceorg.hibernate.type.descriptor.jdbc.JdbcType- Overrides:
getJdbcTypeCodein classAbstractJsonJdbcTypeDescriptor
-
setParameterValues
- Specified by:
setParameterValuesin interfaceorg.hibernate.usertype.ParameterizedType
-