Package it.ovunque.bd
Class DataInSecondiHibernate
java.lang.Object
it.ovunque.bd.DataInSecondiHibernate
- All Implemented Interfaces:
org.hibernate.usertype.UserType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassemble
(Serializable memorizzato, Object proprietario) disassemble
(Object valore) boolean
int
boolean
nullSafeGet
(ResultSet risultati, String[] nomi, Object proprietario) Deprecated.void
nullSafeSet
(PreparedStatement sql, Object valore, int indice) Deprecated.int[]
sqlTypes()
-
Constructor Details
-
DataInSecondiHibernate
public DataInSecondiHibernate()
-
-
Method Details
-
assemble
public Object assemble(Serializable memorizzato, Object proprietario) throws org.hibernate.HibernateException - Specified by:
assemble
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
disassemble
- Specified by:
disassemble
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
isMutable
public boolean isMutable()- Specified by:
isMutable
in interfaceorg.hibernate.usertype.UserType
-
nullSafeGet
@Deprecated public Object nullSafeGet(ResultSet risultati, String[] nomi, Object proprietario) throws org.hibernate.HibernateException, SQLException Deprecated.- Specified by:
nullSafeGet
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
SQLException
-
nullSafeSet
@Deprecated public void nullSafeSet(PreparedStatement sql, Object valore, int indice) throws org.hibernate.HibernateException, SQLException Deprecated.- Specified by:
nullSafeSet
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
SQLException
-
replace
public Object replace(Object originale, Object bersaglio, Object proprietario) throws org.hibernate.HibernateException - Specified by:
replace
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
returnedClass
- Specified by:
returnedClass
in interfaceorg.hibernate.usertype.UserType
-
sqlTypes
public int[] sqlTypes()- Specified by:
sqlTypes
in interfaceorg.hibernate.usertype.UserType
-
equals
- Specified by:
equals
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
hashCode
- Specified by:
hashCode
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-