public class HibernateVersionProperty extends HibernateSimpleProperty
Specialisation of HibernateSimpleProperty used for the optimistic-locking
version property. Having a distinct type allows binders (e.g. VersionBinder) to distinguish the
version slot from ordinary simple properties and apply version-specific defaults
(integer type, undefined null-value, etc.).
| Fields inherited from class | Fields |
|---|---|
class SimpleWithMapping |
propertyMapping |
class AbstractPersistentProperty |
context, inherited, name, owner, type |
| Constructor and description |
|---|
HibernateVersionProperty(PersistentEntity entity, MappingContext context, java.beans.PropertyDescriptor property) |
| Methods inherited from class | Name |
|---|---|
class SimpleWithMapping |
getMapping, setMapping |
class AbstractPersistentProperty |
getCapitilizedName, getName, getOwner, getReader, getType, getWriter, isInherited, isNullable, toString |