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,
org.hibernate.engine.spi.SharedSessionContractImplementor sharedSessionContractImplementor,
Object o) |
void |
nullSafeSet(PreparedStatement preparedStatement,
Object value,
int index,
org.hibernate.engine.spi.SharedSessionContractImplementor sharedSessionContractImplementor) |
Object |
replace(Object original,
Object target,
Object owner) |
Class |
returnedClass() |
void |
setParameterValues(Properties parameters) |
int[] |
sqlTypes() |
public void setParameterValues(Properties parameters)
setParameterValues in interface org.hibernate.usertype.ParameterizedTypepublic boolean isMutable()
isMutable in interface org.hibernate.usertype.UserTypepublic Class returnedClass()
returnedClass in interface org.hibernate.usertype.UserTypepublic int[] sqlTypes()
sqlTypes in interface org.hibernate.usertype.UserTypepublic Object assemble(Serializable cached, Object owner)
assemble in interface org.hibernate.usertype.UserTypepublic Serializable disassemble(Object value)
disassemble in interface org.hibernate.usertype.UserTypepublic Object deepCopy(Object value)
deepCopy in interface org.hibernate.usertype.UserTypepublic Object replace(Object original, Object target, Object owner)
replace in interface org.hibernate.usertype.UserTypepublic int hashCode(Object x)
hashCode in interface org.hibernate.usertype.UserTypepublic boolean equals(Object x, Object y) throws org.hibernate.HibernateException
equals in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic Object nullSafeGet(ResultSet resultSet, String[] names, org.hibernate.engine.spi.SharedSessionContractImplementor sharedSessionContractImplementor, Object o) throws org.hibernate.HibernateException, SQLException
nullSafeGet in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionSQLExceptionpublic void nullSafeSet(PreparedStatement preparedStatement, Object value, int index, org.hibernate.engine.spi.SharedSessionContractImplementor sharedSessionContractImplementor) throws org.hibernate.HibernateException, SQLException
nullSafeSet in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionSQLExceptionCopyright © 2020. All rights reserved.