Class JsonbType
java.lang.Object
org.hibernate.usertype.BaseUserTypeSupport<Object>
org.keycloak.models.map.storage.jpa.hibernate.jsonb.JsonbType
- All Implemented Interfaces:
org.hibernate.usertype.DynamicParameterizedType,org.hibernate.usertype.ParameterizedType,org.hibernate.usertype.UserType<Object>
public class JsonbType
extends org.hibernate.usertype.BaseUserTypeSupport<Object>
implements org.hibernate.usertype.DynamicParameterizedType
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.usertype.DynamicParameterizedType
org.hibernate.usertype.DynamicParameterizedType.ParameterType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonbTypestatic final com.fasterxml.jackson.databind.ObjectMapperFields inherited from interface org.hibernate.usertype.DynamicParameterizedType
ACCESS_TYPE, ENTITY, IS_DYNAMIC, IS_PRIMARY_KEY, PARAMETER_TYPE, PROPERTY, RETURNED_CLASS, XPROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidresolve(BiConsumer resolutionConsumer) voidsetParameterValues(Properties parameters) Methods inherited from class org.hibernate.usertype.BaseUserTypeSupport
assemble, deepCopy, disassemble, equals, getSqlType, hashCode, isMutable, javaType, jdbcType, nullSafeGet, nullSafeSet, returnedClassMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.usertype.UserType
getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getJdbcType, getValueConverter, replace
-
Field Details
-
INSTANCE
-
MAPPER
public static final com.fasterxml.jackson.databind.ObjectMapper MAPPER
-
-
Constructor Details
-
JsonbType
public JsonbType()
-
-
Method Details
-
resolve
- Specified by:
resolvein classorg.hibernate.usertype.BaseUserTypeSupport<Object>
-
setParameterValues
- Specified by:
setParameterValuesin interfaceorg.hibernate.usertype.ParameterizedType
-