public interface UserVersionType extends UserType, Comparator
| Modifier and Type | Method and Description |
|---|---|
Object |
next(Object current,
SessionImplementor session)
Increment the version.
|
Object |
seed(SessionImplementor session)
Generate an initial version.
|
assemble, deepCopy, disassemble, equals, hashCode, isMutable, nullSafeGet, nullSafeSet, replace, returnedClass, sqlTypescompare, equalsObject seed(SessionImplementor session)
session - The session from which this request originates. May be
null; currently this only happens during startup when trying to determine
the "unsaved value" of entities.Object next(Object current, SessionImplementor session)
session - The session from which this request originates.current - the current versionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.