Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.engine.internal | |
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) |
Modifier and Type | Method and Description |
---|---|
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 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 |
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
|
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 |
IntegerType
A type that maps between
INTEGER and @link Integer} |
class |
LongType
|
class |
ShortType
|
class |
TimestampType
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.