Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.engine.internal |
Support for many of the internal workings of Hibernate.
|
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.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
ReplicationMode.shouldOverwriteCurrentVersion(java.lang.Object entity,
java.lang.Object currentVersion,
java.lang.Object newVersion,
VersionType versionType)
Determine whether the mode dictates that the data being replicated should overwrite the data found.
|
Modifier and Type | Method and Description |
---|---|
static VersionValue |
UnsavedValueFactory.getUnsavedVersionValue(java.lang.String versionUnsavedValue,
Getter versionGetter,
VersionType versionType,
java.lang.reflect.Constructor constructor)
Return an IdentifierValue for the specified unsaved-value.
|
static java.lang.Object |
Versioning.increment(java.lang.Object version,
VersionType versionType,
SharedSessionContractImplementor session)
Generate the next increment in the optimistic locking value according
the
VersionType contract for the version property. |
static boolean |
Versioning.seedVersion(java.lang.Object[] fields,
int versionProperty,
VersionType versionType,
SharedSessionContractImplementor session)
Create an initial optimistic locking value according the
VersionType
contract for the version property if required and inject it into
the snapshot state. |
Constructor and Description |
---|
VersionTypeSeedParameterSpecification(VersionType type)
Constructs a version seed parameter bind specification.
|
Modifier and Type | Method and Description |
---|---|
VersionType |
EntityPersister.getVersionType()
If
EntityPersister.isVersioned() , then what is the type of the property
holding the locking value. |
VersionType |
AbstractEntityPersister.getVersionType() |
Modifier and Type | Class and Description |
---|---|
class |
BinaryType
A type that maps between a
VARBINARY and byte[]
Implementation of the VersionType interface should be considered deprecated. |
class |
ByteType
A type that maps between
TINYINT and Byte |
class |
CalendarType
A type that maps between
TIMESTAMP and Calendar |
class |
CustomType
|
class |
DbTimestampType
dbtimestamp: An extension of
TimestampType which
maps to the database's current timestamp, rather than the jvm's
current timestamp. |
class |
InstantType
A type that maps between
TIMESTAMP and LocalDateTime . |
class |
IntegerType
A type that maps between
INTEGER and @link Integer} |
class |
LocalDateTimeType
A type that maps between
TIMESTAMP and LocalDateTime . |
class |
LongType
A type that maps between
BIGINT and Long |
class |
OffsetDateTimeType |
class |
RowVersionType
A type that maps between a
VARBINARY and byte[]
specifically for entity versions/timestamps. |
class |
ShortType
A type that maps between
SMALLINT and Short |
class |
TimestampType
A type that maps between
TIMESTAMP and Timestamp |
class |
ZonedDateTimeType |
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.