public class PersistentDateTimeTZ extends Object implements org.hibernate.usertype.UserType, Serializable
DateTime via hibernate. The timezone will be
stored in an extra column.| Modifier and Type | Field and Description |
|---|---|
static PersistentDateTimeTZ |
INSTANCE |
| Constructor and Description |
|---|
PersistentDateTimeTZ() |
| Modifier and Type | Method and Description |
|---|---|
Object |
assemble(Serializable cached,
Object value) |
Object |
deepCopy(Object value) |
Serializable |
disassemble(Object value) |
boolean |
equals(Object x,
Object y) |
int |
hashCode(Object object) |
boolean |
isMutable() |
Object |
nullSafeGet(ResultSet resultSet,
String[] strings,
Object object) |
void |
nullSafeSet(PreparedStatement preparedStatement,
Object value,
int index) |
Object |
replace(Object original,
Object target,
Object owner) |
Class |
returnedClass() |
int[] |
sqlTypes() |
public static final PersistentDateTimeTZ INSTANCE
public int[] sqlTypes()
sqlTypes in interface org.hibernate.usertype.UserTypepublic Class returnedClass()
returnedClass 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 int hashCode(Object object) throws org.hibernate.HibernateException
hashCode in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic Object nullSafeGet(ResultSet resultSet, String[] strings, Object object) throws org.hibernate.HibernateException, SQLException
nullSafeGet in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionSQLExceptionpublic void nullSafeSet(PreparedStatement preparedStatement, Object value, int index) throws org.hibernate.HibernateException, SQLException
nullSafeSet in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionSQLExceptionpublic Object deepCopy(Object value) throws org.hibernate.HibernateException
deepCopy in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic boolean isMutable()
isMutable in interface org.hibernate.usertype.UserTypepublic Serializable disassemble(Object value) throws org.hibernate.HibernateException
disassemble in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic Object assemble(Serializable cached, Object value) throws org.hibernate.HibernateException
assemble in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionCopyright © 2005–2015 Joda.org. All rights reserved.