public abstract class AbstractVersionableUserType<T,J,C extends VersionableColumnMapper<T,J>> extends AbstractParameterizedTemporalUserType<T,J,C> implements org.hibernate.usertype.UserVersionType, Comparator, org.hibernate.usertype.ParameterizedType, IntegratorConfiguredType
Constructor and Description |
---|
AbstractVersionableUserType() |
Modifier and Type | Method and Description |
---|---|
void |
applyConfiguration(org.hibernate.SessionFactory sessionFactory)
Apply configuration for the given type
|
abstract int |
compare(Object o1,
Object o2) |
T |
next(Object current,
org.hibernate.engine.spi.SharedSessionContractImplementor session) |
T |
seed(org.hibernate.engine.spi.SharedSessionContractImplementor session) |
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
assemble, deepCopy, disassemble, equals, hashCode, isMutable, nullSafeGet, nullSafeSet, replace, returnedClass, sqlTypes
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public AbstractVersionableUserType()
public void applyConfiguration(org.hibernate.SessionFactory sessionFactory)
IntegratorConfiguredType
applyConfiguration
in interface IntegratorConfiguredType
applyConfiguration
in class AbstractParameterizedTemporalUserType<T,J,C extends VersionableColumnMapper<T,J>>
sessionFactory
- The currently active session factorypublic abstract int compare(Object o1, Object o2)
compare
in interface Comparator
public T seed(org.hibernate.engine.spi.SharedSessionContractImplementor session)
seed
in interface org.hibernate.usertype.UserVersionType
Copyright © 2010–2018 Jadira Systems. All rights reserved.