Class HourMinuteType
java.lang.Object
org.beangle.commons.lang.time.hibernate.HourMinuteType
- All Implemented Interfaces:
org.hibernate.usertype.UserType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassemble(Serializable cached, Object owner)disassemble(Object value)booleanintbooleannullSafeGet(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)int[]sqlTypes()
-
Constructor Details
-
HourMinuteType
public HourMinuteType()
-
-
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
-