Class PJsonObjectUserType

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

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

    • PJsonObjectUserType

      public PJsonObjectUserType()
  • Method Details

    • assemble

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

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

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

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

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

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

      public final PJsonObject nullSafeGet(ResultSet rs, int position, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) throws SQLException
      Specified by:
      nullSafeGet in interface org.hibernate.usertype.UserType<PJsonObject>
      Throws:
      SQLException
    • nullSafeSet

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

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

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

      public final int getSqlType()
      Specified by:
      getSqlType in interface org.hibernate.usertype.UserType<PJsonObject>