Class JournalIdentifierUserType
- java.lang.Object
-
- com.atlassian.confluence.impl.hibernate.HibernateUserType
-
- com.atlassian.confluence.impl.journal.JournalIdentifierUserType
-
- All Implemented Interfaces:
Serializable
,org.hibernate.usertype.UserType
public class JournalIdentifierUserType extends HibernateUserType
ConvertsJournalIdentifier
s to and from strings in the DB.- Since:
- 5.6
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JournalIdentifierUserType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
deepCopy(Object object)
boolean
equals(Object x, Object y)
boolean
isMutable()
Object
nullSafeGetImpl(ResultSet rs, String[] columns, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner)
void
nullSafeSetImpl(PreparedStatement ps, Object value, int index, org.hibernate.engine.spi.SharedSessionContractImplementor session)
Class
returnedClass()
int[]
sqlTypes()
-
Methods inherited from class com.atlassian.confluence.impl.hibernate.HibernateUserType
assemble, disassemble, hashCode, nullSafeGet, nullSafeSet, replace
-
-
-
-
Method Detail
-
sqlTypes
public int[] sqlTypes()
-
returnedClass
public Class returnedClass()
-
nullSafeGetImpl
public Object nullSafeGetImpl(ResultSet rs, String[] columns, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) throws org.hibernate.HibernateException, SQLException
- Specified by:
nullSafeGetImpl
in classHibernateUserType
- Throws:
org.hibernate.HibernateException
SQLException
-
nullSafeSetImpl
public void nullSafeSetImpl(PreparedStatement ps, Object value, int index, org.hibernate.engine.spi.SharedSessionContractImplementor session) throws org.hibernate.HibernateException, SQLException
- Specified by:
nullSafeSetImpl
in classHibernateUserType
- Throws:
org.hibernate.HibernateException
SQLException
-
isMutable
public boolean isMutable()
-
-