public class PersistentInstantAsBigInt extends Object implements org.hibernate.usertype.EnhancedUserType, Serializable
Instant
via hibernate as a BIGINT.Modifier and Type | Field and Description |
---|---|
static PersistentInstantAsBigInt |
INSTANCE |
Constructor and Description |
---|
PersistentInstantAsBigInt() |
Modifier and Type | Method and Description |
---|---|
Object |
assemble(Serializable serializable,
Object value) |
Object |
deepCopy(Object value) |
Serializable |
disassemble(Object value) |
boolean |
equals(Object x,
Object y) |
Object |
fromXMLString(String string) |
int |
hashCode(Object object) |
boolean |
isMutable() |
Object |
nullSafeGet(ResultSet resultSet,
String name) |
Object |
nullSafeGet(ResultSet resultSet,
String[] names,
Object object) |
void |
nullSafeSet(PreparedStatement preparedStatement,
Object value,
int index) |
String |
objectToSQLString(Object object) |
Object |
replace(Object original,
Object target,
Object owner) |
Class |
returnedClass() |
int[] |
sqlTypes() |
String |
toXMLString(Object object) |
public static final PersistentInstantAsBigInt INSTANCE
public int[] sqlTypes()
sqlTypes
in interface org.hibernate.usertype.UserType
public Class returnedClass()
returnedClass
in interface org.hibernate.usertype.UserType
public boolean equals(Object x, Object y) throws org.hibernate.HibernateException
equals
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
public int hashCode(Object object) throws org.hibernate.HibernateException
hashCode
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
public Object nullSafeGet(ResultSet resultSet, String[] names, Object object) throws org.hibernate.HibernateException, SQLException
nullSafeGet
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
SQLException
public Object nullSafeGet(ResultSet resultSet, String name) throws org.hibernate.HibernateException, SQLException
org.hibernate.HibernateException
SQLException
public void nullSafeSet(PreparedStatement preparedStatement, Object value, int index) throws org.hibernate.HibernateException, SQLException
nullSafeSet
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
SQLException
public Object deepCopy(Object value) throws org.hibernate.HibernateException
deepCopy
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
public boolean isMutable()
isMutable
in interface org.hibernate.usertype.UserType
public Serializable disassemble(Object value) throws org.hibernate.HibernateException
disassemble
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
public Object assemble(Serializable serializable, Object value) throws org.hibernate.HibernateException
assemble
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
public Object replace(Object original, Object target, Object owner) throws org.hibernate.HibernateException
replace
in interface org.hibernate.usertype.UserType
org.hibernate.HibernateException
public String objectToSQLString(Object object)
objectToSQLString
in interface org.hibernate.usertype.EnhancedUserType
public String toXMLString(Object object)
toXMLString
in interface org.hibernate.usertype.EnhancedUserType
Copyright © 2005–2015 Joda.org. All rights reserved.