Package com.jalios.jcms.db
Class ZoneIdUserType
java.lang.Object
com.jalios.jcms.db.ZoneIdUserType
- All Implemented Interfaces:
Serializable,org.hibernate.usertype.EnhancedUserType,org.hibernate.usertype.UserType
public class ZoneIdUserType
extends Object
implements org.hibernate.usertype.EnhancedUserType, Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassemble(Serializable cached, Object val) disassemble(Object val) booleanfromXMLString(String string) intbooleannullSafeGet(ResultSet resultSet, String[] names, Object obj) voidnullSafeSet(PreparedStatement preparedStatement, Object value, int index) objectToSQLString(Object obj) int[]sqlTypes()toXMLString(Object obj)
-
Constructor Details
-
ZoneIdUserType
public ZoneIdUserType()
-
-
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- Throws:
org.hibernate.HibernateException
-
hashCode
- Specified by:
hashCodein interfaceorg.hibernate.usertype.UserType- Throws:
org.hibernate.HibernateException
-
nullSafeGet
public Object nullSafeGet(ResultSet resultSet, String[] names, Object obj) throws org.hibernate.HibernateException, SQLException - Specified by:
nullSafeGetin interfaceorg.hibernate.usertype.UserType- Throws:
org.hibernate.HibernateExceptionSQLException
-
nullSafeSet
public void nullSafeSet(PreparedStatement preparedStatement, Object value, int index) throws org.hibernate.HibernateException, SQLException - Specified by:
nullSafeSetin interfaceorg.hibernate.usertype.UserType- Throws:
org.hibernate.HibernateExceptionSQLException
-
deepCopy
- Specified by:
deepCopyin interfaceorg.hibernate.usertype.UserType- Throws:
org.hibernate.HibernateException
-
isMutable
public boolean isMutable()- Specified by:
isMutablein interfaceorg.hibernate.usertype.UserType
-
disassemble
- Specified by:
disassemblein interfaceorg.hibernate.usertype.UserType- Throws:
org.hibernate.HibernateException
-
assemble
- Specified by:
assemblein interfaceorg.hibernate.usertype.UserType- Throws:
org.hibernate.HibernateException
-
replace
public Object replace(Object original, Object target, Object owner) throws org.hibernate.HibernateException - Specified by:
replacein interfaceorg.hibernate.usertype.UserType- Throws:
org.hibernate.HibernateException
-
toXMLString
- Specified by:
toXMLStringin interfaceorg.hibernate.usertype.EnhancedUserType
-
fromXMLString
- Specified by:
fromXMLStringin interfaceorg.hibernate.usertype.EnhancedUserType
-
objectToSQLString
- Specified by:
objectToSQLStringin interfaceorg.hibernate.usertype.EnhancedUserType
-