Package eu.dnetlib.openaire.common
Class GenericArrayUserType<T extends Serializable>
java.lang.Object
eu.dnetlib.openaire.common.GenericArrayUserType<T>
- All Implemented Interfaces:
org.hibernate.usertype.UserType
public class GenericArrayUserType<T extends Serializable>
extends Object
implements org.hibernate.usertype.UserType
Created by claudio on 05/07/2017.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassemble(Serializable cached, Object owner) disassemble(Object value) booleanintbooleannullSafeGet(ResultSet resultSet, String[] names, org.hibernate.engine.spi.SharedSessionContractImplementor sharedSessionContractImplementor, Object o) voidnullSafeSet(PreparedStatement statement, Object value, int index, org.hibernate.engine.spi.SharedSessionContractImplementor session) int[]sqlTypes()
-
Field Details
-
SQL_TYPES
protected static final int[] SQL_TYPES
-
-
Constructor Details
-
GenericArrayUserType
public GenericArrayUserType()
-
-
Method Details
-
assemble
- Specified by:
assemblein interfaceorg.hibernate.usertype.UserType- Throws:
org.hibernate.HibernateException
-
deepCopy
- Specified by:
deepCopyin interfaceorg.hibernate.usertype.UserType- Throws:
org.hibernate.HibernateException
-
disassemble
- Specified by:
disassemblein interfaceorg.hibernate.usertype.UserType- Throws:
org.hibernate.HibernateException
-
equals
- Specified by:
equalsin interfaceorg.hibernate.usertype.UserType- Throws:
org.hibernate.HibernateException
-
hashCode
- Specified by:
hashCodein interfaceorg.hibernate.usertype.UserType- Throws:
org.hibernate.HibernateException
-
isMutable
public boolean isMutable()- Specified by:
isMutablein interfaceorg.hibernate.usertype.UserType
-
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
-
returnedClass
- Specified by:
returnedClassin interfaceorg.hibernate.usertype.UserType
-
sqlTypes
public int[] sqlTypes()- Specified by:
sqlTypesin interfaceorg.hibernate.usertype.UserType
-