Package org.hibernate.usertype
Interface UserVersionType<T>
- All Superinterfaces:
Comparator<T>
,UserType<T>
A user type that may be used for a version property
-
Method Summary
Modifier and TypeMethodDescriptionnext
(T current, SharedSessionContractImplementor session) Increment the version.seed
(SharedSessionContractImplementor session) Generate an initial version.Methods inherited from interface java.util.Comparator
compare, equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Methods inherited from interface org.hibernate.usertype.UserType
assemble, deepCopy, disassemble, equals, getDefaultSqlLength, getDefaultSqlPrecision, getDefaultSqlScale, getJdbcType, getSqlType, getValueConverter, hashCode, isMutable, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, replace, returnedClass
-
Method Details