public class EnumUserType extends Object implements org.hibernate.usertype.UserType, org.hibernate.usertype.ParameterizedType
| Constructor and Description |
|---|
EnumUserType() |
| Modifier and Type | Method and Description |
|---|---|
Object |
assemble(Serializable cached,
Object owner) |
Object |
deepCopy(Object value) |
Serializable |
disassemble(Object value) |
boolean |
equals(Object x,
Object y) |
int |
hashCode(Object x) |
boolean |
isMutable() |
Object |
nullSafeGet(ResultSet resultSet,
String[] names,
Object owner) |
Object |
nullSafeGet(ResultSet arg0,
String[] arg1,
org.hibernate.engine.spi.SessionImplementor arg2,
Object arg3) |
void |
nullSafeSet(PreparedStatement preparedStatement,
Object value,
int index) |
void |
nullSafeSet(PreparedStatement arg0,
Object arg1,
int arg2,
org.hibernate.engine.spi.SessionImplementor arg3) |
Object |
replace(Object original,
Object target,
Object owner) |
Class |
returnedClass() |
void |
setParameterValues(Properties params) |
int[] |
sqlTypes() |
public void setParameterValues(Properties params)
setParameterValues in interface org.hibernate.usertype.ParameterizedTypepublic int[] sqlTypes()
sqlTypes in interface org.hibernate.usertype.UserTypepublic Class returnedClass()
returnedClass in interface org.hibernate.usertype.UserTypepublic Object nullSafeGet(ResultSet resultSet, String[] names, Object owner) throws org.hibernate.HibernateException, SQLException
org.hibernate.HibernateExceptionSQLExceptionpublic void nullSafeSet(PreparedStatement preparedStatement, Object value, int index) throws org.hibernate.HibernateException, SQLException
org.hibernate.HibernateExceptionSQLExceptionpublic Object deepCopy(Object value) throws org.hibernate.HibernateException
deepCopy in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic boolean isMutable()
isMutable in interface org.hibernate.usertype.UserTypepublic Object assemble(Serializable cached, Object owner) throws org.hibernate.HibernateException
assemble in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic Serializable disassemble(Object value) throws org.hibernate.HibernateException
disassemble in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic Object replace(Object original, Object target, Object owner) throws org.hibernate.HibernateException
replace in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic int hashCode(Object x) throws org.hibernate.HibernateException
hashCode in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic boolean equals(Object x, Object y) throws org.hibernate.HibernateException
equals in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic Object nullSafeGet(ResultSet arg0, String[] arg1, org.hibernate.engine.spi.SessionImplementor arg2, Object arg3) throws org.hibernate.HibernateException, SQLException
nullSafeGet in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionSQLExceptionpublic void nullSafeSet(PreparedStatement arg0, Object arg1, int arg2, org.hibernate.engine.spi.SessionImplementor arg3) throws org.hibernate.HibernateException, SQLException
nullSafeSet in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionSQLExceptionCopyright © 2015–2017 eGovernments Foundation. All rights reserved.