public class PersistentLocalTimeAsTimestamp extends Object implements org.hibernate.usertype.EnhancedUserType, Serializable
LocalDate via hibernate. This uses a standard
Timestamp (DateTime) field to store the partial.| Modifier and Type | Field and Description |
|---|---|
static PersistentLocalTimeAsTimestamp |
INSTANCE |
| Constructor and Description |
|---|
PersistentLocalTimeAsTimestamp() |
| 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) |
Object |
fromXMLString(String string) |
int |
hashCode(Object object) |
boolean |
isMutable() |
Object |
nullSafeGet(ResultSet resultSet,
String string) |
Object |
nullSafeGet(ResultSet resultSet,
String[] strings,
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 PersistentLocalTimeAsTimestamp INSTANCE
public Object assemble(Serializable cached, Object value) throws org.hibernate.HibernateException
assemble in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic Object deepCopy(Object value) throws org.hibernate.HibernateException
deepCopy in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic Serializable disassemble(Object value) throws org.hibernate.HibernateException
disassemble in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic boolean equals(Object x, Object y) throws org.hibernate.HibernateException
equals in interface org.hibernate.usertype.UserTypeorg.hibernate.HibernateExceptionpublic Object fromXMLString(String string)
fromXMLString in interface org.hibernate.usertype.EnhancedUserTypepublic int hashCode(Object object) 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 resultSet, String string) throws SQLException
SQLExceptionpublic 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 String objectToSQLString(Object object)
objectToSQLString in interface org.hibernate.usertype.EnhancedUserTypepublic 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 © 2005–2015 Joda.org. All rights reserved.