public class EmptyStringUserType extends Object implements Serializable, org.hibernate.usertype.UserType
| Constructor and Description |
|---|
EmptyStringUserType() |
| 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 rs,
String[] names,
Object owner) |
void |
nullSafeSet(PreparedStatement st,
Object value,
int index) |
Object |
replace(Object original,
Object target,
Object owner) |
Class |
returnedClass() |
int[] |
sqlTypes() |
public Object assemble(Serializable cached, Object owner) throws org.hibernate.HibernateException
assemble in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic Object deepCopy(Object value)
deepCopy in interface org.hibernate.usertype.UserTypepublic Serializable disassemble(Object value)
disassemble in interface org.hibernate.usertype.UserTypepublic boolean equals(Object x, Object y)
equals in interface org.hibernate.usertype.UserTypepublic int hashCode(Object x) throws org.hibernate.HibernateException
hashCode in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic boolean isMutable()
isMutable in interface org.hibernate.usertype.UserTypepublic Object nullSafeGet(ResultSet rs, String[] names, Object owner) throws org.hibernate.HibernateException, SQLException
nullSafeGet in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionSQLExceptionpublic void nullSafeSet(PreparedStatement st, Object value, int index) throws org.hibernate.HibernateException, SQLException
nullSafeSet in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionSQLExceptionpublic Object replace(Object original, Object target, Object owner) throws org.hibernate.HibernateException
replace in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic Class returnedClass()
returnedClass in interface org.hibernate.usertype.UserTypepublic int[] sqlTypes()
sqlTypes in interface org.hibernate.usertype.UserTypeCopyright © 2014 Atlassian. All rights reserved.