Package org.openurp.base.time.hibernate
Class TermsType
java.lang.Object
org.openurp.base.time.hibernate.TermsType
- All Implemented Interfaces:
org.hibernate.usertype.UserType
public class TermsType extends Object implements org.hibernate.usertype.UserType
-
Constructor Summary
Constructors Constructor Description TermsType() -
Method Summary
Modifier and Type Method Description Objectassemble(Serializable cached, Object owner)ObjectdeepCopy(Object value)Serializabledisassemble(Object value)booleanequals(Object x, Object y)inthashCode(Object x)booleanisMutable()ObjectnullSafeGet(ResultSet resultSet, String[] names, org.hibernate.engine.spi.SessionImplementor session, Object owner)voidnullSafeSet(PreparedStatement statement, Object value, int index, org.hibernate.engine.spi.SessionImplementor session)Objectreplace(Object original, Object target, Object owner)ClassreturnedClass()int[]sqlTypes()
-
Constructor Details
-
TermsType
public TermsType()
-
-
Method Details
-
sqlTypes
public int[] sqlTypes()- Specified by:
sqlTypesin interfaceorg.hibernate.usertype.UserType
-
returnedClass
- Specified by:
returnedClassin interfaceorg.hibernate.usertype.UserType
-
equals
- Specified by:
equalsin interfaceorg.hibernate.usertype.UserType
-
hashCode
- Specified by:
hashCodein interfaceorg.hibernate.usertype.UserType
-
nullSafeGet
public Object nullSafeGet(ResultSet resultSet, String[] names, org.hibernate.engine.spi.SessionImplementor session, Object owner) throws org.hibernate.HibernateException, SQLException- Specified by:
nullSafeGetin interfaceorg.hibernate.usertype.UserType- Throws:
org.hibernate.HibernateExceptionSQLException
-
nullSafeSet
public void nullSafeSet(PreparedStatement statement, Object value, int index, org.hibernate.engine.spi.SessionImplementor session) throws org.hibernate.HibernateException, SQLException- Specified by:
nullSafeSetin interfaceorg.hibernate.usertype.UserType- Throws:
org.hibernate.HibernateExceptionSQLException
-
deepCopy
- Specified by:
deepCopyin interfaceorg.hibernate.usertype.UserType
-
isMutable
public boolean isMutable()- Specified by:
isMutablein interfaceorg.hibernate.usertype.UserType
-
disassemble
- Specified by:
disassemblein interfaceorg.hibernate.usertype.UserType
-
assemble
- Specified by:
assemblein interfaceorg.hibernate.usertype.UserType
-
replace
- Specified by:
replacein interfaceorg.hibernate.usertype.UserType
-