public class EncodedPasswordType extends Object implements UserType, ParameterizedType
| Constructor and Description |
|---|
EncodedPasswordType() |
| Modifier and Type | Method and Description |
|---|---|
Object |
assemble(Serializable cached,
Object owner) |
protected void |
configure(Properties parameters)
Loads the password encoder and any other necessary instance variables.
|
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,
SessionImplementor session,
Object owner) |
void |
nullSafeSet(PreparedStatement st,
Object value,
int index,
SessionImplementor session) |
Object |
replace(Object original,
Object target,
Object owner) |
Class<?> |
returnedClass() |
void |
setParameterValues(Properties parameters) |
int[] |
sqlTypes() |
public Object assemble(Serializable cached, Object owner) throws HibernateException
assemble in interface UserTypeHibernateExceptionpublic Object deepCopy(Object value) throws HibernateException
deepCopy in interface UserTypeHibernateExceptionpublic Serializable disassemble(Object value) throws HibernateException
disassemble in interface UserTypeHibernateExceptionpublic boolean equals(Object x, Object y) throws HibernateException
equals in interface UserTypeHibernateExceptionpublic int hashCode(Object x) throws HibernateException
hashCode in interface UserTypeHibernateExceptionpublic Object nullSafeGet(ResultSet rs, String[] names, SessionImplementor session, Object owner) throws HibernateException, SQLException
nullSafeGet in interface UserTypeHibernateExceptionSQLExceptionpublic void nullSafeSet(PreparedStatement st, Object value, int index, SessionImplementor session) throws HibernateException, SQLException
nullSafeSet in interface UserTypeHibernateExceptionSQLExceptionpublic Object replace(Object original, Object target, Object owner) throws HibernateException
replace in interface UserTypeHibernateExceptionpublic void setParameterValues(Properties parameters)
setParameterValues in interface ParameterizedTypeprotected void configure(Properties parameters)
parameters - the parameter valuespublic Class<?> returnedClass()
returnedClass in interface UserType