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(Object entity,
Object currentVersion,
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(String versionUnsavedValue,
Getter versionGetter,
VersionType versionType,
Constructor constructor)
Return an IdentifierValue for the specified unsaved-value.
|
static Object |
Versioning.increment(Object version,
VersionType versionType,
SessionImplementor session)
Generate the next increment in the optimistic 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 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[] |
class |
ByteType
|
class |
CalendarType
|
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
|
class |
OffsetDateTimeType |
class |
ShortType
|
class |
TimestampType
|
class |
ZonedDateTimeType |
Copyright © 2016 JBoss by Red Hat. All rights reserved.