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

    Fields
    Modifier and Type
    Field
    Description
    static final JsonbType
     
    static final com.fasterxml.jackson.databind.ObjectMapper
     

    Fields inherited from interface org.hibernate.usertype.DynamicParameterizedType

    ACCESS_TYPE, ENTITY, IS_DYNAMIC, IS_PRIMARY_KEY, PARAMETER_TYPE, PROPERTY, RETURNED_CLASS, XPROPERTY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    resolve(BiConsumer resolutionConsumer)
     
    void
     

    Methods inherited from class org.hibernate.usertype.BaseUserTypeSupport

    assemble, deepCopy, disassemble, equals, getSqlType, hashCode, isMutable, javaType, jdbcType, nullSafeGet, nullSafeSet, returnedClass

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.usertype.UserType

    getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getJdbcType, getValueConverter, replace
  • Field Details

    • INSTANCE

      public static final JsonbType INSTANCE
    • MAPPER

      public static final com.fasterxml.jackson.databind.ObjectMapper MAPPER
  • Constructor Details

    • JsonbType

      public JsonbType()
  • Method Details

    • resolve

      protected void resolve(BiConsumer resolutionConsumer)
      Specified by:
      resolve in class org.hibernate.usertype.BaseUserTypeSupport<Object>
    • setParameterValues

      public void setParameterValues(Properties parameters)
      Specified by:
      setParameterValues in interface org.hibernate.usertype.ParameterizedType