public class UserKeyUserType extends HibernateUserType
UserType which allows UserKey objects to be persisted
as mapped properties.| Constructor and Description |
|---|
UserKeyUserType() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deepCopy(Object value) |
boolean |
equals(Object x,
Object y) |
static String |
getStringValue(com.atlassian.sal.api.user.UserKey userKey)
Returns the actual String value that will be used as the database value for the given key
|
boolean |
isMutable() |
Object |
nullSafeGet(ResultSet rs,
String[] names,
Object owner) |
void |
nullSafeSet(PreparedStatement st,
Object value,
int index) |
Class |
returnedClass() |
int[] |
sqlTypes() |
assemble, disassemble, hashCode, nullSafeGet, nullSafeSet, replacepublic int[] sqlTypes()
public Class returnedClass()
public Object nullSafeGet(ResultSet rs, String[] names, Object owner) throws net.sf.hibernate.HibernateException, SQLException
nullSafeGet in class HibernateUserTypenet.sf.hibernate.HibernateExceptionSQLExceptionpublic void nullSafeSet(PreparedStatement st, Object value, int index) throws net.sf.hibernate.HibernateException, SQLException
nullSafeSet in class HibernateUserTypenet.sf.hibernate.HibernateExceptionSQLExceptionpublic static String getStringValue(com.atlassian.sal.api.user.UserKey userKey)
public boolean isMutable()
Copyright © 2003–2020 Atlassian. All rights reserved.