Class PJsonObjectUserType

java.lang.Object
org.mapfish.print.servlet.job.impl.hibernate.PJsonObjectUserType
All Implemented Interfaces:
org.hibernate.usertype.UserType

public class PJsonObjectUserType extends Object implements org.hibernate.usertype.UserType
Hibernate User Type for PJson object.
  • Constructor Details

    • PJsonObjectUserType

      public PJsonObjectUserType()
  • Method Details

    • assemble

      public final Object assemble(Serializable cached, Object owner)
      Specified by:
      assemble in interface org.hibernate.usertype.UserType
    • deepCopy

      public final Object deepCopy(Object value)
      Specified by:
      deepCopy in interface org.hibernate.usertype.UserType
    • disassemble

      public final Serializable disassemble(Object value)
      Specified by:
      disassemble in interface org.hibernate.usertype.UserType
    • equals

      public final boolean equals(Object x, Object y)
      Specified by:
      equals in interface org.hibernate.usertype.UserType
    • hashCode

      public final int hashCode(Object x)
      Specified by:
      hashCode in interface org.hibernate.usertype.UserType
    • isMutable

      public final boolean isMutable()
      Specified by:
      isMutable in interface org.hibernate.usertype.UserType
    • nullSafeGet

      public final Object nullSafeGet(ResultSet rs, String[] names, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) throws SQLException
      Specified by:
      nullSafeGet in interface org.hibernate.usertype.UserType
      Throws:
      SQLException
    • nullSafeSet

      public final void nullSafeSet(PreparedStatement st, Object value, int index, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws SQLException
      Specified by:
      nullSafeSet in interface org.hibernate.usertype.UserType
      Throws:
      SQLException
    • replace

      public final Object replace(Object original, Object target, Object owner)
      Specified by:
      replace in interface org.hibernate.usertype.UserType
    • returnedClass

      public final Class<PJsonObject> returnedClass()
      Specified by:
      returnedClass in interface org.hibernate.usertype.UserType
    • sqlTypes

      public final int[] sqlTypes()
      Specified by:
      sqlTypes in interface org.hibernate.usertype.UserType