public class PersistentLocalDateTime extends AbstractParameterizedTemporalUserType<org.joda.time.LocalDateTime,Timestamp,TimestampColumnLocalDateTimeMapper> implements org.hibernate.usertype.ParameterizedType, IntegratorConfiguredType
LocalDateTime
via Hibernate. This type is
mostly compatible with org.joda.time.contrib.hibernate.PersistentLocalDateTime however
you should note that JodaTime's LocalDateTime
has only millisecond precision,
whilst JSR 310 offers nanosecond precision. When interpreting nanosecond values, Joda time will
round down to the nearest millisecond.
The type is stored using the timezone as configured
using Hibernate's configuration property 'hibernate.jdbc.time_zone' and presented in the
JVM using the JVM's default zone. You can optionally override or use as an alternative to this property the
parameter 'databaseZone' on this type.Constructor and Description |
---|
PersistentLocalDateTime() |
applyConfiguration
doWrapSession, getParameterValues, setParameterValues
doNullSafeGet, doNullSafeSet, fromXMLString, getColumnMapper, nullSafeGet, nullSafeSet, objectToSQLString, returnedClass, sqlTypes, toXMLString
afterNullSafeOperation, assemble, beforeNullSafeOperation, deepCopy, disassemble, equals, hashCode, isMutable, replace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyConfiguration
public PersistentLocalDateTime()
Copyright © 2010–2018 Jadira Systems. All rights reserved.