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, sqlTypes
compare, equals
Object 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 © 2001-2015 Red Hat, Inc. All Rights Reserved.