## Uses of Interface
org.hibernate.type.VersionType

Packages that use VersionType
org.hibernate: This package defines the central Hibernate APIs.
org.hibernate.engine: This package contains classes that are "shared" by other packages, and implementations of some key algorithms.
org.hibernate.param
org.hibernate.persister.entity: This package abstracts persistence mechanisms for entities, and defines the Hibernate runtime metamodel.
org.hibernate.type: A Hibernate `Type` is a strategy for mapping a Java property type to a JDBC type or types.

Uses of VersionType in org.hibernate

Methods in org.hibernate with parameters of type VersionType
`abstract boolean` `ReplicationMode.shouldOverwriteCurrentVersion(Object entity, Object currentVersion, Object newVersion, VersionType versionType)`

Uses of VersionType in org.hibernate.engine

Methods in org.hibernate.engine with parameters of type VersionType
`static VersionValue` `UnsavedValueFactory.getUnsavedVersionValue(String versionUnsavedValue, Getter versionGetter, VersionType versionType, Constructor constructor)`
`static Object` `Versioning.increment(Object version, VersionType versionType, SessionImplementor session)` Generate the next increment in the optimisitc locking value according the `VersionType` contract for the version property.
`static boolean` `Versioning.seedVersion(Object[] fields, int versionProperty, VersionType versionType, SessionImplementor session)` Create an initial optimisitc locking value according the `VersionType` contract for the version property if required and inject it into the snapshot state.

Uses of VersionType in org.hibernate.param

Constructors in org.hibernate.param with parameters of type VersionType
`VersionTypeSeedParameterSpecification(VersionType type)` Constructs a version seed parameter bind specification.

Uses of VersionType in org.hibernate.persister.entity

Methods in org.hibernate.persister.entity that return VersionType
`VersionType` `EntityPersister.getVersionType()` If `EntityPersister.isVersioned()`, then what is the type of the property holding the locking value.
`VersionType` `AbstractEntityPersister.getVersionType()`

Uses of VersionType in org.hibernate.type

Classes in org.hibernate.type that implement VersionType
`class` `AbstractBynaryType` Deprecated. Use the `AbstractStandardBasicType` approach instead
`class` `AbstractLongBinaryType` Deprecated. Use the `AbstractStandardBasicType` approach instead
`class` `BinaryType` A type that maps between a `VARBINARY` and `byte[]`
`class` `ByteType` A type that maps between `TINYINT` and `Byte`
`class` `CalendarType` A type that maps between `TIMESTAMP` and `Calendar`
`class` `CustomType` Adapts `UserType` to the generic `Type` interface, in order to isolate user code from changes in the internal Type contracts.
`class` `DbTimestampType` `dbtimestamp`: An extension of `TimestampType` which maps to the database's current timestamp, rather than the jvm's current timestamp.
`class` `IntegerType` A type that maps between `INTEGER` and @link Integer}
`class` `LongType` A type that maps between `BIGINT` and `Long`
`class` `ShortType` A type that maps between `SMALLINT` and `Short`
`class` `TimestampType` A type that maps between `TIMESTAMP` and `Timestamp`

Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.