Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.action.internal |
Internals for action processing.
|
org.hibernate.action.spi |
Defines SPI hooks into the
ActionQueue . |
org.hibernate.bytecode.enhance.spi |
package defining bytecode code enhancement (instrumentation) support.
|
org.hibernate.bytecode.enhance.spi.interceptor |
interceptor implementations
|
org.hibernate.bytecode.spi |
Package defining bytecode code enhancement (instrumentation) support.
|
org.hibernate.cache.internal |
Internal implementations and support for second-level caching.
|
org.hibernate.cache.spi |
Defines the integration aspect of Hibernate's second-level
caching allowing "caching back ends" to be plugged in as
a caching provider.
|
org.hibernate.cache.spi.access |
Defines contracts for transactional and concurrent access to cached
entity and
collection data. |
org.hibernate.cache.spi.entry |
This package defines formats for disassembled state kept in the second level cache.
|
org.hibernate.cache.spi.support |
Package intended for simplifying the worked needed to implement
a caching provider.
|
org.hibernate.collection.internal |
Internal implementations and support for persistent collections
|
org.hibernate.collection.spi |
SPI definitions for persistent collections
|
org.hibernate.dialect |
This package abstracts the SQL dialect of the underlying database.
|
org.hibernate.dialect.identity | |
org.hibernate.dialect.lock |
Support for Dialect-specific locking strategies
|
org.hibernate.engine.internal |
Support for many of the internal workings of Hibernate.
|
org.hibernate.engine.query.spi |
Defines support for query plans and stored metadata about queries
|
org.hibernate.engine.spi | |
org.hibernate.envers.internal.entities | |
org.hibernate.envers.internal.entities.mapper.relation.lazy | |
org.hibernate.event.spi | |
org.hibernate.hql.internal.ast |
An ANTLR-based parser for Hibernate Query Language.
|
org.hibernate.hql.internal.ast.exec | |
org.hibernate.hql.internal.classic |
This package contains the Hibernate 2.x query parser which
is being end-of-lifed.
|
org.hibernate.hql.spi | |
org.hibernate.hql.spi.id |
Support for multi-table update and delete statements via id-tables.
|
org.hibernate.hql.spi.id.cte | |
org.hibernate.hql.spi.id.inline | |
org.hibernate.hql.spi.id.local | |
org.hibernate.hql.spi.id.persistent |
Package contains an implementation of MultiTableBulkIdStrategy based on the use
of a persistent (ANSI SQL term) table to hold id values.
|
org.hibernate.id |
This package contains internal implementation classes for the
main API interfaces.
|
org.hibernate.id.enhanced |
Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified
configuration
|
org.hibernate.id.insert | |
org.hibernate.id.uuid | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.loader |
This package defines functionality for processing JDBC
result sets and returning complex graphs of persistent
objects.
|
org.hibernate.loader.collection |
This package defines collection initializers
|
org.hibernate.loader.collection.plan | |
org.hibernate.loader.criteria |
This package defines the criteria query compiler and loader
|
org.hibernate.loader.custom |
This package defines a framework for custom loaders that accept
handwritten SQL
|
org.hibernate.loader.custom.sql | |
org.hibernate.loader.entity |
This package defines entity loaders
|
org.hibernate.loader.entity.plan | |
org.hibernate.loader.hql |
This package defines a loader for the AST-based query parser
|
org.hibernate.loader.plan.exec.internal |
Provides the internal implementations for generating the load query from the LoadPlan and the ResultSet processor.
|
org.hibernate.loader.plan.exec.process.internal | |
org.hibernate.loader.plan.exec.process.spi | |
org.hibernate.loader.spi | |
org.hibernate.mapping |
This package defines the Hibernate configuration-time metamodel.
|
org.hibernate.metadata |
This package defines an API for accessing the Hibernate
runtime metamodel.
|
org.hibernate.param | |
org.hibernate.persister.collection |
This package abstracts the persistence mechanism for collections.
|
org.hibernate.persister.entity |
This package abstracts persistence mechanisms for
entities, and defines the Hibernate runtime
metamodel.
|
org.hibernate.pretty |
Classes for pretty printing things for exception
and log messages.
|
org.hibernate.procedure | |
org.hibernate.procedure.internal |
Defines the internal support for implementing stored procedure calling.
|
org.hibernate.procedure.spi | |
org.hibernate.property.access.internal | |
org.hibernate.property.access.spi |
Defines strategies for accessing the persistent properties of an entity or composite.
|
org.hibernate.proxy |
This package defines a framework for lazy-initializing
entity proxies.
|
org.hibernate.proxy.map | |
org.hibernate.proxy.pojo | |
org.hibernate.proxy.pojo.bytebuddy | |
org.hibernate.proxy.pojo.javassist | |
org.hibernate.query.internal | |
org.hibernate.query.procedure.internal | |
org.hibernate.query.spi | |
org.hibernate.result.spi | |
org.hibernate.tuple.entity | |
org.hibernate.type |
A Hibernate Type is a strategy for mapping a
Java property type to a JDBC type or types.
|
org.hibernate.usertype |
Interfaces for user-defined custom types.
|
Modifier and Type | Method and Description |
---|---|
static LobCreator |
Hibernate.getLobCreator(SharedSessionContractImplementor session)
Obtain a lob creator for the given session.
|
Modifier and Type | Method and Description |
---|---|
SharedSessionContractImplementor |
EntityAction.getSession()
originating session accessor
|
protected SharedSessionContractImplementor |
CollectionAction.getSession() |
Modifier and Type | Method and Description |
---|---|
void |
EntityAction.afterDeserialize(SharedSessionContractImplementor session)
Reconnect to session after deserialization...
|
void |
CollectionAction.afterDeserialize(SharedSessionContractImplementor session)
Reconnect to session after deserialization...
|
void |
BulkOperationCleanupAction.afterDeserialize(SharedSessionContractImplementor session) |
void |
AbstractEntityInsertAction.afterDeserialize(SharedSessionContractImplementor session) |
void |
EntityUpdateAction.doAfterTransactionCompletion(boolean success,
SharedSessionContractImplementor session) |
void |
EntityInsertAction.doAfterTransactionCompletion(boolean success,
SharedSessionContractImplementor session) |
void |
EntityIdentityInsertAction.doAfterTransactionCompletion(boolean success,
SharedSessionContractImplementor session) |
void |
EntityDeleteAction.doAfterTransactionCompletion(boolean success,
SharedSessionContractImplementor session) |
Constructor and Description |
---|
AbstractEntityInsertAction(Serializable id,
Object[] state,
Object instance,
boolean isVersionIncrementDisabled,
EntityPersister persister,
SharedSessionContractImplementor session)
Constructs an AbstractEntityInsertAction object.
|
BulkOperationCleanupAction(SharedSessionContractImplementor session,
Queryable... affectedQueryables)
Constructs an action to cleanup "affected cache regions" based on the
affected entity persisters.
|
BulkOperationCleanupAction(SharedSessionContractImplementor session,
Set tableSpaces)
Constructs an action to cleanup "affected cache regions" based on a
set of affected table spaces.
|
CollectionAction(CollectionPersister persister,
PersistentCollection collection,
Serializable key,
SharedSessionContractImplementor session) |
CollectionRecreateAction(PersistentCollection collection,
CollectionPersister persister,
Serializable id,
SharedSessionContractImplementor session)
Constructs a CollectionRecreateAction
|
CollectionRemoveAction(Object affectedOwner,
CollectionPersister persister,
Serializable id,
boolean emptySnapshot,
SharedSessionContractImplementor session)
Removes a persistent collection from a specified owner.
|
CollectionRemoveAction(PersistentCollection collection,
CollectionPersister persister,
Serializable id,
boolean emptySnapshot,
SharedSessionContractImplementor session)
Removes a persistent collection from its loaded owner.
|
CollectionUpdateAction(PersistentCollection collection,
CollectionPersister persister,
Serializable id,
boolean emptySnapshot,
SharedSessionContractImplementor session)
Constructs a CollectionUpdateAction
|
EntityAction(SharedSessionContractImplementor session,
Serializable id,
Object instance,
EntityPersister persister)
Instantiate an action.
|
EntityIdentityInsertAction(Object[] state,
Object instance,
EntityPersister persister,
boolean isVersionIncrementDisabled,
SharedSessionContractImplementor session,
boolean isDelayed)
Constructs an EntityIdentityInsertAction
|
EntityInsertAction(Serializable id,
Object[] state,
Object instance,
Object version,
EntityPersister persister,
boolean isVersionIncrementDisabled,
SharedSessionContractImplementor session)
Constructs an EntityInsertAction.
|
EntityUpdateAction(Serializable id,
Object[] state,
int[] dirtyProperties,
boolean hasDirtyCollection,
Object[] previousState,
Object previousVersion,
Object nextVersion,
Object instance,
Object rowId,
EntityPersister persister,
SharedSessionContractImplementor session)
Constructs an EntityUpdateAction
|
QueuedOperationCollectionAction(PersistentCollection collection,
CollectionPersister persister,
Serializable id,
SharedSessionContractImplementor session)
Constructs a CollectionUpdateAction
|
Modifier and Type | Method and Description |
---|---|
void |
Executable.afterDeserialize(SharedSessionContractImplementor session)
Reconnect to session after deserialization
|
void |
AfterTransactionCompletionProcess.doAfterTransactionCompletion(boolean success,
SharedSessionContractImplementor session)
Perform whatever processing is encapsulated here after completion of the transaction.
|
Modifier and Type | Method and Description |
---|---|
Object |
LazyPropertyInitializer.initializeLazyProperty(String fieldName,
Object entity,
SharedSessionContractImplementor session)
Initialize the property, and return its new value.
|
Modifier and Type | Method and Description |
---|---|
SharedSessionContractImplementor |
LazyAttributeLoadingInterceptor.getLinkedSession() |
Modifier and Type | Method and Description |
---|---|
void |
LazyAttributeLoadingInterceptor.setSession(SharedSessionContractImplementor session) |
Constructor and Description |
---|
LazyAttributeLoadingInterceptor(String entityName,
Set<String> lazyFields,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
LazyAttributeLoadingInterceptor |
BytecodeEnhancementMetadata.injectInterceptor(Object entity,
SharedSessionContractImplementor session)
Build and inject an interceptor instance into the enhanced entity.
|
Modifier and Type | Method and Description |
---|---|
Object |
SimpleCacheKeysFactory.createNaturalIdKey(Object[] naturalIdValues,
EntityPersister persister,
SharedSessionContractImplementor session) |
Object |
DefaultCacheKeysFactory.createNaturalIdKey(Object[] naturalIdValues,
EntityPersister persister,
SharedSessionContractImplementor session) |
CacheTransactionSynchronization |
NoCachingRegionFactory.createTransactionContext(SharedSessionContractImplementor session) |
List |
QueryResultsCacheImpl.get(QueryKey key,
Set<Serializable> spaces,
Type[] returnTypes,
SharedSessionContractImplementor session) |
List |
QueryResultsCacheImpl.get(QueryKey key,
String[] spaces,
Type[] returnTypes,
SharedSessionContractImplementor session) |
void |
TimestampsCacheEnabledImpl.invalidate(String[] spaces,
SharedSessionContractImplementor session) |
void |
TimestampsCacheDisabledImpl.invalidate(String[] spaces,
SharedSessionContractImplementor session) |
boolean |
TimestampsCacheEnabledImpl.isUpToDate(String[] spaces,
Long timestamp,
SharedSessionContractImplementor session) |
boolean |
TimestampsCacheDisabledImpl.isUpToDate(String[] spaces,
Long timestamp,
SharedSessionContractImplementor session) |
void |
TimestampsCacheEnabledImpl.preInvalidate(String[] spaces,
SharedSessionContractImplementor session) |
void |
TimestampsCacheDisabledImpl.preInvalidate(String[] spaces,
SharedSessionContractImplementor session) |
boolean |
QueryResultsCacheImpl.put(QueryKey key,
List results,
Type[] returnTypes,
SharedSessionContractImplementor session) |
static Object |
DefaultCacheKeysFactory.staticCreateNaturalIdKey(Object[] naturalIdValues,
EntityPersister persister,
SharedSessionContractImplementor session) |
Constructor and Description |
---|
NaturalIdCacheKey(Object[] naturalIdValues,
Type[] propertyTypes,
int[] naturalIdPropertyIndexes,
String entityName,
SharedSessionContractImplementor session)
Construct a new key for a caching natural identifier resolutions into the second level cache.
|
Modifier and Type | Method and Description |
---|---|
Object |
CacheKeysFactory.createNaturalIdKey(Object[] naturalIdValues,
EntityPersister persister,
SharedSessionContractImplementor session) |
default CacheTransactionSynchronization |
RegionFactory.createTransactionContext(SharedSessionContractImplementor session) |
CacheTransactionSynchronization |
AbstractRegionFactory.createTransactionContext(SharedSessionContractImplementor session) |
static QueryKey |
QueryKey.generateQueryKey(String queryString,
QueryParameters queryParameters,
Set filterKeys,
SharedSessionContractImplementor session,
CacheableResultTransformer customTransformer)
Generates a QueryKey.
|
List |
QueryResultsCache.get(QueryKey key,
Set<Serializable> spaces,
Type[] returnTypes,
SharedSessionContractImplementor session)
Get results from the cache.
|
List |
QueryResultsCache.get(QueryKey key,
String[] spaces,
Type[] returnTypes,
SharedSessionContractImplementor session)
Get results from the cache.
|
default List |
QueryResultsCache.get(QueryKey key,
Type[] returnTypes,
boolean isNaturalKeyLookup,
Set<Serializable> spaces,
SharedSessionContractImplementor session) |
List |
QueryCache.get(QueryKey key,
Type[] returnTypes,
boolean isNaturalKeyLookup,
Set<Serializable> spaces,
SharedSessionContractImplementor session)
Deprecated.
Get results from the cache.
|
Object |
DirectAccessRegion.getFromCache(Object key,
SharedSessionContractImplementor session)
Get value by key
|
void |
UpdateTimestampsCache.invalidate(Serializable[] spaces,
SharedSessionContractImplementor session)
Deprecated.
Perform invalidation.
|
default void |
TimestampsCache.invalidate(Serializable[] spaces,
SharedSessionContractImplementor session) |
void |
TimestampsCache.invalidate(String[] spaces,
SharedSessionContractImplementor session)
Perform invalidation of the passed spaces (table names)
against the timestamps region data
|
boolean |
UpdateTimestampsCache.isUpToDate(Set<Serializable> spaces,
Long timestamp,
SharedSessionContractImplementor session)
Deprecated.
Perform an up-to-date check for the given set of query spaces.
|
default boolean |
TimestampsCache.isUpToDate(Set<Serializable> spaces,
Long timestamp,
SharedSessionContractImplementor session) |
boolean |
TimestampsCache.isUpToDate(String[] spaces,
Long timestamp,
SharedSessionContractImplementor session)
Perform an up-to-date check for the given set of query spaces as
part of verifying the validity of cached query results.
|
void |
UpdateTimestampsCache.preInvalidate(Serializable[] spaces,
SharedSessionContractImplementor session)
Deprecated.
Perform pre-invalidation.
|
default void |
TimestampsCache.preInvalidate(Serializable[] spaces,
SharedSessionContractImplementor session) |
void |
TimestampsCache.preInvalidate(String[] spaces,
SharedSessionContractImplementor session)
Perform pre-invalidation of the passed spaces (table names)
against the timestamps region data
|
boolean |
QueryResultsCache.put(QueryKey key,
List result,
Type[] returnTypes,
SharedSessionContractImplementor session)
Put a result into the query cache.
|
default boolean |
QueryResultsCache.put(QueryKey key,
Type[] returnTypes,
List result,
boolean isNaturalKeyLookup,
SharedSessionContractImplementor session) |
boolean |
QueryCache.put(QueryKey key,
Type[] returnTypes,
List result,
boolean isNaturalKeyLookup,
SharedSessionContractImplementor session)
Deprecated.
Put a result into the query cache.
|
void |
DirectAccessRegion.putIntoCache(Object key,
Object value,
SharedSessionContractImplementor session)
Put a value by key
|
Modifier and Type | Method and Description |
---|---|
boolean |
NaturalIdDataAccess.afterInsert(SharedSessionContractImplementor session,
Object key,
Object value)
Called afterQuery an item has been inserted (afterQuery the transaction completes),
instead of calling release().
|
boolean |
EntityDataAccess.afterInsert(SharedSessionContractImplementor session,
Object key,
Object value,
Object version)
Called afterQuery an item has been inserted (afterQuery the transaction completes),
instead of calling release().
|
boolean |
EntityDataAccess.afterUpdate(SharedSessionContractImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock)
Called afterQuery an item has been updated (afterQuery the transaction completes),
instead of calling release().
|
boolean |
NaturalIdDataAccess.afterUpdate(SharedSessionContractImplementor session,
Object key,
Object value,
SoftLock lock)
Called afterQuery an item has been updated (afterQuery the transaction completes),
instead of calling release().
|
Object |
NaturalIdDataAccess.generateCacheKey(Object[] naturalIdValues,
EntityPersister rootEntityDescriptor,
SharedSessionContractImplementor session)
To create instances of NaturalIdCacheKey for this region, Hibernate will invoke this method
exclusively so that generated implementations can generate optimised keys.
|
Object |
CachedDomainDataAccess.get(SharedSessionContractImplementor session,
Object key)
Attempt to retrieve an object from the cache.
|
boolean |
NaturalIdDataAccess.insert(SharedSessionContractImplementor session,
Object key,
Object value)
Called afterQuery an item has been inserted (beforeQuery the transaction completes),
instead of calling evict().
|
boolean |
EntityDataAccess.insert(SharedSessionContractImplementor session,
Object key,
Object value,
Object version)
Called afterQuery an item has been inserted (beforeQuery the transaction completes),
instead of calling evict().
|
SoftLock |
CachedDomainDataAccess.lockItem(SharedSessionContractImplementor session,
Object key,
Object version)
We are going to attempt to update/delete the keyed object.
|
boolean |
CachedDomainDataAccess.putFromLoad(SharedSessionContractImplementor session,
Object key,
Object value,
Object version)
Attempt to cache an object, afterQuery loading from the database.
|
boolean |
CachedDomainDataAccess.putFromLoad(SharedSessionContractImplementor session,
Object key,
Object value,
Object version,
boolean minimalPutOverride)
Attempt to cache an object, afterQuery loading from the database, explicitly
specifying the minimalPut behavior.
|
void |
CachedDomainDataAccess.remove(SharedSessionContractImplementor session,
Object key)
Called afterQuery an item has become stale (beforeQuery the transaction completes).
|
void |
CachedDomainDataAccess.removeAll(SharedSessionContractImplementor session)
Remove all data for this accessed type
|
void |
CachedDomainDataAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock)
Called when we have finished the attempted update/delete (which may or
may not have been successful), after transaction completion.
|
boolean |
NaturalIdDataAccess.update(SharedSessionContractImplementor session,
Object key,
Object value)
Called afterQuery an item has been updated (beforeQuery the transaction completes),
instead of calling evict().
|
boolean |
EntityDataAccess.update(SharedSessionContractImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion)
Called afterQuery an item has been updated (beforeQuery the transaction completes),
instead of calling evict().
|
Constructor and Description |
---|
StandardCacheEntryImpl(Object[] state,
EntityPersister persister,
Object version,
SharedSessionContractImplementor session,
Object owner)
Constructs a StandardCacheEntryImpl
|
Modifier and Type | Method and Description |
---|---|
boolean |
NaturalIdReadWriteAccess.afterInsert(SharedSessionContractImplementor session,
Object key,
Object value) |
boolean |
NaturalIdNonStrictReadWriteAccess.afterInsert(SharedSessionContractImplementor session,
Object key,
Object value) |
boolean |
AbstractNaturalIdDataAccess.afterInsert(SharedSessionContractImplementor session,
Object key,
Object value) |
boolean |
EntityTransactionalAccess.afterInsert(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
boolean |
EntityReadWriteAccess.afterInsert(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
boolean |
EntityReadOnlyAccess.afterInsert(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
boolean |
EntityNonStrictReadWriteAccess.afterInsert(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
boolean |
EntityTransactionalAccess.afterUpdate(SharedSessionContractImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock) |
boolean |
EntityReadWriteAccess.afterUpdate(SharedSessionContractImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock) |
boolean |
EntityReadOnlyAccess.afterUpdate(SharedSessionContractImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock) |
boolean |
EntityNonStrictReadWriteAccess.afterUpdate(SharedSessionContractImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock) |
boolean |
NaturalIdReadWriteAccess.afterUpdate(SharedSessionContractImplementor session,
Object key,
Object value,
SoftLock lock) |
boolean |
AbstractNaturalIdDataAccess.afterUpdate(SharedSessionContractImplementor session,
Object key,
Object value,
SoftLock lock) |
default void |
StorageAccess.clearCache(SharedSessionContractImplementor session)
Clear data from the cache
|
protected void |
AbstractReadWriteAccess.decrementLock(SharedSessionContractImplementor session,
Object key,
AbstractReadWriteAccess.SoftLockImpl lock) |
Object |
NaturalIdReadWriteAccess.generateCacheKey(Object[] naturalIdValues,
EntityPersister rootEntityDescriptor,
SharedSessionContractImplementor session) |
Object |
AbstractNaturalIdDataAccess.generateCacheKey(Object[] naturalIdValues,
EntityPersister persister,
SharedSessionContractImplementor session) |
Object |
CollectionReadWriteAccess.get(SharedSessionContractImplementor session,
Object key) |
Object |
AbstractReadWriteAccess.get(SharedSessionContractImplementor session,
Object key)
Returns
null if the item is not readable. |
Object |
AbstractCachedDomainDataAccess.get(SharedSessionContractImplementor session,
Object key) |
Object |
StorageAccess.getFromCache(Object key,
SharedSessionContractImplementor session)
Get an item from the cache.
|
Object |
DirectAccessRegionTemplate.getFromCache(Object key,
SharedSessionContractImplementor session) |
protected void |
AbstractReadWriteAccess.handleLockExpiry(SharedSessionContractImplementor session,
Object key,
AbstractReadWriteAccess.Lockable lock) |
boolean |
NaturalIdReadWriteAccess.insert(SharedSessionContractImplementor session,
Object key,
Object value) |
boolean |
NaturalIdNonStrictReadWriteAccess.insert(SharedSessionContractImplementor session,
Object key,
Object value) |
boolean |
AbstractNaturalIdDataAccess.insert(SharedSessionContractImplementor session,
Object key,
Object value) |
boolean |
EntityTransactionalAccess.insert(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
boolean |
EntityReadWriteAccess.insert(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
boolean |
EntityReadOnlyAccess.insert(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
boolean |
EntityNonStrictReadWriteAccess.insert(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
SoftLock |
CollectionReadWriteAccess.lockItem(SharedSessionContractImplementor session,
Object key,
Object version) |
SoftLock |
AbstractReadWriteAccess.lockItem(SharedSessionContractImplementor session,
Object key,
Object version) |
SoftLock |
AbstractNaturalIdDataAccess.lockItem(SharedSessionContractImplementor session,
Object key,
Object version) |
SoftLock |
AbstractEntityDataAccess.lockItem(SharedSessionContractImplementor session,
Object key,
Object version) |
SoftLock |
AbstractCollectionDataAccess.lockItem(SharedSessionContractImplementor session,
Object key,
Object version) |
default void |
DomainDataStorageAccess.putFromLoad(Object key,
Object value,
SharedSessionContractImplementor session)
Specialized form of putting something into the cache
in cases where the put is coming from a load (read) from
the database
|
boolean |
CollectionReadWriteAccess.putFromLoad(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
boolean |
AbstractReadWriteAccess.putFromLoad(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
boolean |
AbstractCachedDomainDataAccess.putFromLoad(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
boolean |
AbstractReadWriteAccess.putFromLoad(SharedSessionContractImplementor session,
Object key,
Object value,
Object version,
boolean minimalPutOverride) |
boolean |
AbstractCachedDomainDataAccess.putFromLoad(SharedSessionContractImplementor session,
Object key,
Object value,
Object version,
boolean minimalPutOverride) |
void |
StorageAccess.putIntoCache(Object key,
Object value,
SharedSessionContractImplementor session)
Put an item into the cache
|
void |
DirectAccessRegionTemplate.putIntoCache(Object key,
Object value,
SharedSessionContractImplementor session) |
void |
NaturalIdNonStrictReadWriteAccess.remove(SharedSessionContractImplementor session,
Object key) |
void |
EntityNonStrictReadWriteAccess.remove(SharedSessionContractImplementor session,
Object key) |
void |
AbstractReadWriteAccess.remove(SharedSessionContractImplementor session,
Object key) |
void |
AbstractCachedDomainDataAccess.remove(SharedSessionContractImplementor session,
Object key) |
void |
AbstractCachedDomainDataAccess.removeAll(SharedSessionContractImplementor session) |
default void |
StorageAccess.removeFromCache(Object key,
SharedSessionContractImplementor session)
Remove an item from the cache by key
|
void |
NaturalIdReadOnlyAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
NaturalIdNonStrictReadWriteAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
EntityReadOnlyAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
EntityNonStrictReadWriteAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock)
Since this is a non-strict read/write strategy item locking is not used.
|
void |
CollectionReadWriteAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
CollectionNonStrictReadWriteAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
AbstractReadWriteAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
AbstractNaturalIdDataAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
AbstractEntityDataAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
AbstractCollectionDataAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
boolean |
NaturalIdReadWriteAccess.update(SharedSessionContractImplementor session,
Object key,
Object value) |
boolean |
NaturalIdNonStrictReadWriteAccess.update(SharedSessionContractImplementor session,
Object key,
Object value) |
boolean |
AbstractNaturalIdDataAccess.update(SharedSessionContractImplementor session,
Object key,
Object value) |
boolean |
EntityTransactionalAccess.update(SharedSessionContractImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion) |
boolean |
EntityReadWriteAccess.update(SharedSessionContractImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion) |
boolean |
EntityReadOnlyAccess.update(SharedSessionContractImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion) |
boolean |
EntityNonStrictReadWriteAccess.update(SharedSessionContractImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion) |
Modifier and Type | Method and Description |
---|---|
SharedSessionContractImplementor |
AbstractPersistentCollection.getSession()
Get the session currently associated with this collection.
|
Modifier and Type | Method and Description |
---|---|
protected static Collection |
AbstractPersistentCollection.getOrphans(Collection oldElements,
Collection currentElements,
String entityName,
SharedSessionContractImplementor session)
Given a collection of entity instances that used to
belong to the collection, and a collection of instances
that currently belong, return a collection of orphans
|
static void |
AbstractPersistentCollection.identityRemove(Collection list,
Object entityInstance,
String entityName,
SharedSessionContractImplementor session)
Removes entity entries that have an equal identifier with the incoming entity instance
|
boolean |
AbstractPersistentCollection.setCurrentSession(SharedSessionContractImplementor session) |
boolean |
AbstractPersistentCollection.unsetSession(SharedSessionContractImplementor currentSession) |
Constructor and Description |
---|
AbstractPersistentCollection(SharedSessionContractImplementor session) |
PersistentArrayHolder(SharedSessionContractImplementor session,
CollectionPersister persister)
Constructs a PersistentCollection instance for holding an array.
|
PersistentArrayHolder(SharedSessionContractImplementor session,
Object array)
Constructs a PersistentCollection instance for holding an array.
|
PersistentBag(SharedSessionContractImplementor session)
Constructs a PersistentBag
|
PersistentBag(SharedSessionContractImplementor session,
Collection coll)
Constructs a PersistentBag
|
PersistentIdentifierBag(SharedSessionContractImplementor session)
Constructs a PersistentIdentifierBag.
|
PersistentIdentifierBag(SharedSessionContractImplementor session,
Collection coll)
Constructs a PersistentIdentifierBag.
|
PersistentList(SharedSessionContractImplementor session)
Constructs a PersistentList.
|
PersistentList(SharedSessionContractImplementor session,
List list)
Constructs a PersistentList.
|
PersistentMap(SharedSessionContractImplementor session)
Instantiates a lazy map (the underlying map is un-initialized).
|
PersistentMap(SharedSessionContractImplementor session,
Map map)
Instantiates a non-lazy map (the underlying map is constructed
from the incoming map reference).
|
PersistentSet(SharedSessionContractImplementor session)
Constructor matching super.
|
PersistentSet(SharedSessionContractImplementor session,
Set set)
Instantiates a non-lazy set (the underlying set is constructed
from the incoming set reference).
|
PersistentSortedMap(SharedSessionContractImplementor session)
Constructs a PersistentSortedMap.
|
PersistentSortedMap(SharedSessionContractImplementor session,
SortedMap map)
Constructs a PersistentSortedMap.
|
PersistentSortedSet(SharedSessionContractImplementor session)
Constructs a PersistentSortedSet
|
PersistentSortedSet(SharedSessionContractImplementor session,
SortedSet set)
Constructs a PersistentSortedSet
|
Modifier and Type | Method and Description |
---|---|
boolean |
PersistentCollection.setCurrentSession(SharedSessionContractImplementor session)
Associate the collection with the given session.
|
boolean |
PersistentCollection.unsetSession(SharedSessionContractImplementor currentSession)
Disassociate this collection from the given session.
|
Modifier and Type | Method and Description |
---|---|
Blob |
LobMergeStrategy.mergeBlob(Blob original,
Blob target,
SharedSessionContractImplementor session)
Perform merge on
Blob values. |
Clob |
LobMergeStrategy.mergeClob(Clob original,
Clob target,
SharedSessionContractImplementor session)
Perform merge on
Clob values. |
NClob |
LobMergeStrategy.mergeNClob(NClob original,
NClob target,
SharedSessionContractImplementor session)
Perform merge on
NClob values. |
Modifier and Type | Method and Description |
---|---|
Serializable |
GetGeneratedKeysDelegate.executeAndExtract(PreparedStatement insert,
SharedSessionContractImplementor session) |
protected PreparedStatement |
Oracle12cGetGeneratedKeysDelegate.prepare(String insertSQL,
SharedSessionContractImplementor session) |
protected PreparedStatement |
GetGeneratedKeysDelegate.prepare(String insertSQL,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
void |
UpdateLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SharedSessionContractImplementor session) |
void |
SelectLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SharedSessionContractImplementor session) |
void |
PessimisticWriteUpdateLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SharedSessionContractImplementor session) |
void |
PessimisticWriteSelectLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SharedSessionContractImplementor session) |
void |
PessimisticReadUpdateLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SharedSessionContractImplementor session) |
void |
PessimisticReadSelectLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SharedSessionContractImplementor session) |
void |
PessimisticForceIncrementLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SharedSessionContractImplementor session) |
void |
OptimisticLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SharedSessionContractImplementor session) |
void |
OptimisticForceIncrementLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SharedSessionContractImplementor session) |
void |
LockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SharedSessionContractImplementor session)
Acquire an appropriate type of lock on the underlying data that will
endure until the end of the current transaction.
|
Modifier and Type | Method and Description |
---|---|
SharedSessionContractImplementor |
StatefulPersistenceContext.getSession() |
protected SharedSessionContractImplementor |
NaturalIdXrefDelegate.session()
Access to the session (via the PersistenceContext) to which this delegate ultimately belongs.
|
Modifier and Type | Method and Description |
---|---|
static void |
TwoPhaseLoad.addUninitializedCachedEntity(EntityKey key,
Object object,
EntityPersister persister,
LockMode lockMode,
Object version,
SharedSessionContractImplementor session)
Same as
TwoPhaseLoad.addUninitializedEntity(org.hibernate.engine.spi.EntityKey, java.lang.Object, org.hibernate.persister.entity.EntityPersister, org.hibernate.LockMode, org.hibernate.engine.spi.SharedSessionContractImplementor) , but here for an entity from the second level cache |
static void |
TwoPhaseLoad.addUninitializedEntity(EntityKey key,
Object object,
EntityPersister persister,
LockMode lockMode,
SharedSessionContractImplementor session)
Add an uninitialized instance of an entity class, as a placeholder to ensure object
identity.
|
static NonNullableTransientDependencies |
ForeignKeys.findNonNullableTransientEntities(String entityName,
Object entity,
Object[] values,
boolean isEarlyInsert,
SharedSessionContractImplementor session)
Find all non-nullable references to entities that have not yet
been inserted in the database, where the foreign key
is a reference to an unsaved transient entity.
|
static Serializable |
CacheHelper.fromSharedCache(SharedSessionContractImplementor session,
Object cacheKey,
CachedDomainDataAccess cacheAccess) |
static Serializable |
ForeignKeys.getEntityIdentifierIfNotUnsaved(String entityName,
Object object,
SharedSessionContractImplementor session)
Return the identifier of the persistent or transient object, or throw
an exception if the instance is "unsaved"
Used by OneToOneType and ManyToOneType to determine what id value should
be used for an object that may or may not be associated with the session.
|
static Object |
Versioning.increment(Object version,
VersionType versionType,
SharedSessionContractImplementor session)
Generate the next increment in the optimistic locking value according
the
VersionType contract for the version property. |
static void |
TwoPhaseLoad.initializeEntity(Object entity,
boolean readOnly,
SharedSessionContractImplementor session,
PreLoadEvent preLoadEvent)
Perform the second step of 2-phase load.
|
static boolean |
ForeignKeys.isNotTransient(String entityName,
Object entity,
Boolean assumed,
SharedSessionContractImplementor session)
Is this instance persistent or detached?
If assumed is non-null, don't hit the database to make the determination, instead assume that
value; the client code must be prepared to "recover" in the case that this assumed result is incorrect.
|
boolean |
AbstractEntityEntry.isNullifiable(boolean earlyInsert,
SharedSessionContractImplementor session) |
static boolean |
ForeignKeys.isTransient(String entityName,
Object entity,
Boolean assumed,
SharedSessionContractImplementor session)
Is this instance, which we know is not persistent, actually transient?
If assumed is non-null, don't hit the database to make the determination, instead assume that
value; the client code must be prepared to "recover" in the case that this assumed result is incorrect.
|
static void |
TwoPhaseLoad.postHydrate(EntityPersister persister,
Serializable id,
Object[] values,
Object rowId,
Object object,
LockMode lockMode,
SharedSessionContractImplementor session)
Register the "hydrated" state of an entity instance, after the first step of 2-phase loading.
|
static void |
TwoPhaseLoad.postLoad(Object entity,
SharedSessionContractImplementor session,
PostLoadEvent postLoadEvent)
PostLoad cannot occur during initializeEntity, as that call occurs *before*
the Set collections are added to the persistence context by Loader.
|
static void |
BatchFetchQueueHelper.removeBatchLoadableEntityKey(Serializable id,
EntityPersister persister,
SharedSessionContractImplementor session)
Remove the entity key with the specified
id and persister from
the batch loadable entities BatchFetchQueue . |
static void |
BatchFetchQueueHelper.removeNotFoundBatchLoadableEntityKeys(Serializable[] ids,
List<?> results,
EntityPersister persister,
SharedSessionContractImplementor session)
Finds the IDs for entities that were not found when the batch was loaded, and removes
the corresponding entity keys from the
BatchFetchQueue . |
static boolean |
Versioning.seedVersion(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. |
String |
NonNullableTransientDependencies.toLoggableString(SharedSessionContractImplementor session)
Build a loggable representation of the paths tracked here at the moment.
|
Constructor and Description |
---|
Nullability(SharedSessionContractImplementor session)
Constructs a Nullability
|
Nullifier(Object self,
boolean isDelete,
boolean isEarlyInsert,
SharedSessionContractImplementor session)
Constructs a Nullifier
|
StatefulPersistenceContext(SharedSessionContractImplementor session)
Constructs a PersistentContext, bound to the given session.
|
Modifier and Type | Method and Description |
---|---|
protected void |
NativeSQLQueryPlan.coordinateSharedCacheCleanup(SharedSessionContractImplementor session) |
int |
NativeSQLQueryPlan.performExecuteUpdate(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Performs the execute query
|
int |
HQLQueryPlan.performExecuteUpdate(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Coordinates the efforts to perform an execution across all the included query translators.
|
List |
HQLQueryPlan.performList(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Coordinates the efforts to perform a list across all the included query translators.
|
ScrollableResultsImplementor |
HQLQueryPlan.performScroll(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Coordinates the efforts to perform a scroll across all the included query translators.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SessionImplementor
Defines the "internal contract" for
Session and other parts of Hibernate such as
Type , EntityPersister
and CollectionPersister implementations. |
Modifier and Type | Class and Description |
---|---|
class |
SessionDelegatorBaseImpl
This class is meant to be extended.
|
Modifier and Type | Method and Description |
---|---|
SharedSessionContractImplementor |
PersistenceContext.getSession()
Get the session to which this persistence context is bound.
|
Modifier and Type | Method and Description |
---|---|
static Iterator |
CascadingActions.getLoadedElementsIterator(SharedSessionContractImplementor session,
CollectionType collectionType,
Object collection)
Iterate just the elements of the collection that are already there.
|
boolean |
EntityEntry.isNullifiable(boolean earlyInsert,
SharedSessionContractImplementor session) |
boolean |
QueryParameters.isReadOnly(SharedSessionContractImplementor session)
Should entities and proxies loaded by the Query be put in read-only mode? If the
read-only/modifiable setting was not initialized (i.e., QueryParameters#isReadOnlyInitialized() == false),
then the default read-only/modifiable setting for the persistence context is returned instead.
|
void |
QueryParameters.processFilters(String sql,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
RevisionType |
RevisionTypeType.nullSafeGet(ResultSet resultSet,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
void |
RevisionTypeType.nullSafeSet(PreparedStatement preparedStatement,
Object value,
int index,
SharedSessionContractImplementor session) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDelegateSessionImplementor |
class |
ToOneDelegateSessionImplementor |
Modifier and Type | Interface and Description |
---|---|
interface |
EventSource |
Modifier and Type | Method and Description |
---|---|
int |
QueryTranslatorImpl.executeUpdate(QueryParameters queryParameters,
SharedSessionContractImplementor session) |
List |
QueryTranslatorImpl.list(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
ScrollableResultsImplementor |
QueryTranslatorImpl.scroll(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Return the query results, as an instance of ScrollableResults
|
Modifier and Type | Method and Description |
---|---|
protected int |
BasicExecutor.doExecute(QueryParameters parameters,
SharedSessionContractImplementor session,
String sql,
List parameterSpecifications) |
int |
StatementExecutor.execute(QueryParameters parameters,
SharedSessionContractImplementor session)
Execute the sql managed by this executor using the given parameters.
|
int |
MultiTableUpdateExecutor.execute(QueryParameters parameters,
SharedSessionContractImplementor session) |
int |
MultiTableDeleteExecutor.execute(QueryParameters parameters,
SharedSessionContractImplementor session) |
int |
DeleteExecutor.execute(QueryParameters parameters,
SharedSessionContractImplementor session) |
int |
BasicExecutor.execute(QueryParameters parameters,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
int |
QueryTranslator.executeUpdate(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Perform a bulk update/delete operation given the underlying query definition.
|
List |
QueryTranslator.list(SharedSessionContractImplementor session,
QueryParameters queryParameters)
Perform a list operation given the underlying query definition.
|
ScrollableResultsImplementor |
QueryTranslator.scroll(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Perform a scroll operation given the underlying query definition.
|
Modifier and Type | Method and Description |
---|---|
int |
TableBasedUpdateHandlerImpl.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
int |
TableBasedDeleteHandlerImpl.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
int |
MultiTableBulkIdStrategy.UpdateHandler.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
int |
MultiTableBulkIdStrategy.DeleteHandler.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
protected void |
TableBasedDeleteHandlerImpl.handleAddedParametersOnDelete(PreparedStatement ps,
SharedSessionContractImplementor session) |
protected void |
TableBasedUpdateHandlerImpl.handleAddedParametersOnUpdate(PreparedStatement ps,
SharedSessionContractImplementor session,
int position) |
protected int |
TableBasedUpdateHandlerImpl.handlePrependedParametersOnIdSelection(PreparedStatement ps,
SharedSessionContractImplementor session,
int pos) |
protected int |
TableBasedDeleteHandlerImpl.handlePrependedParametersOnIdSelection(PreparedStatement ps,
SharedSessionContractImplementor session,
int pos) |
protected void |
AbstractTableBasedBulkIdHandler.prepareForUse(Queryable persister,
SharedSessionContractImplementor session) |
protected void |
AbstractTableBasedBulkIdHandler.releaseFromUse(Queryable persister,
SharedSessionContractImplementor session) |
protected List<Object[]> |
AbstractIdsBulkIdHandler.selectIds(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
Modifier and Type | Method and Description |
---|---|
int |
CteValuesListUpdateHandlerImpl.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
int |
CteValuesListDeleteHandlerImpl.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
protected CteValuesListBuilder |
AbstractCteValuesListBulkIdHandler.prepareCteStatement(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
Modifier and Type | Method and Description |
---|---|
int |
AbstractInlineIdsUpdateHandlerImpl.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
int |
AbstractInlineIdsDeleteHandlerImpl.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
protected IdsClauseBuilder |
AbstractInlineIdsBulkIdHandler.prepareInlineStatement(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
Modifier and Type | Method and Description |
---|---|
void |
Helper.createTempTable(IdTableInfoImpl idTableInfo,
TempTableDdlTransactionHandling ddlTransactionHandling,
SharedSessionContractImplementor session) |
protected void |
Helper.releaseTempTable(IdTableInfoImpl idTableInfo,
AfterUseAction afterUseAction,
TempTableDdlTransactionHandling ddlTransactionHandling,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
protected void |
SelectGenerator.SelectGeneratorDelegate.bindParameters(SharedSessionContractImplementor session,
PreparedStatement ps,
Object entity) |
Serializable |
IdentityGenerator.InsertSelectDelegate.determineGeneratedIdentifier(SharedSessionContractImplementor session,
Object entity) |
void |
CompositeNestedGeneratedValueGenerator.GenerationPlan.execute(SharedSessionContractImplementor session,
Object incomingObject,
Object injectionContext)
Execute the value generation.
|
protected Serializable |
SequenceIdentityGenerator.Delegate.executeAndExtract(PreparedStatement insert,
SharedSessionContractImplementor session) |
Serializable |
IdentityGenerator.InsertSelectDelegate.executeAndExtract(PreparedStatement insert,
SharedSessionContractImplementor session) |
Serializable |
UUIDHexGenerator.generate(SharedSessionContractImplementor session,
Object obj) |
Serializable |
UUIDGenerator.generate(SharedSessionContractImplementor session,
Object object) |
Serializable |
SequenceIdentityGenerator.generate(SharedSessionContractImplementor s,
Object obj)
Deprecated.
|
Serializable |
SequenceHiLoGenerator.generate(SharedSessionContractImplementor session,
Object obj)
Deprecated.
|
Serializable |
SequenceGenerator.generate(SharedSessionContractImplementor session,
Object obj)
Deprecated.
|
Serializable |
MultipleHiLoPerTableGenerator.generate(SharedSessionContractImplementor session,
Object obj)
Deprecated.
|
Serializable |
IncrementGenerator.generate(SharedSessionContractImplementor session,
Object object) |
Serializable |
IdentifierGenerator.generate(SharedSessionContractImplementor session,
Object object)
Generate a new identifier.
|
Serializable |
GUIDGenerator.generate(SharedSessionContractImplementor session,
Object obj) |
Serializable |
ForeignGenerator.generate(SharedSessionContractImplementor sessionImplementor,
Object object) |
Serializable |
CompositeNestedGeneratedValueGenerator.generate(SharedSessionContractImplementor session,
Object object) |
Serializable |
Assigned.generate(SharedSessionContractImplementor session,
Object obj) |
Serializable |
AbstractPostInsertGenerator.generate(SharedSessionContractImplementor s,
Object obj) |
protected IntegralDataTypeHolder |
SequenceGenerator.generateHolder(SharedSessionContractImplementor session)
Deprecated.
|
UUID |
UUIDGenerationStrategy.generateUUID(SharedSessionContractImplementor session)
Generate the UUID.
|
protected Serializable |
SelectGenerator.SelectGeneratorDelegate.getResult(SharedSessionContractImplementor session,
ResultSet rs,
Object entity) |
protected Serializable |
IdentityGenerator.BasicDelegate.getResult(SharedSessionContractImplementor session,
ResultSet rs,
Object object) |
Serializable |
CompositeNestedGeneratedValueGenerator.GenerationContextLocator.locateGenerationContext(SharedSessionContractImplementor session,
Object incomingObject)
Given the incoming object, determine the context for injecting back its generated
id sub-values.
|
protected PreparedStatement |
SequenceIdentityGenerator.Delegate.prepare(String insertSQL,
SharedSessionContractImplementor session) |
protected PreparedStatement |
IdentityGenerator.InsertSelectDelegate.prepare(String insertSQL,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
AccessCallback |
TableStructure.buildCallback(SharedSessionContractImplementor session) |
AccessCallback |
SequenceStructure.buildCallback(SharedSessionContractImplementor session) |
AccessCallback |
DatabaseStructure.buildCallback(SharedSessionContractImplementor session)
A callback to be able to get the next value from the underlying
structure as needed.
|
Serializable |
TableGenerator.generate(SharedSessionContractImplementor session,
Object obj) |
Serializable |
SequenceStyleGenerator.generate(SharedSessionContractImplementor session,
Object object) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSelectingDelegate.bindParameters(SharedSessionContractImplementor session,
PreparedStatement ps,
Object entity)
Bind any required parameter values into the SQL command
AbstractSelectingDelegate.getSelectSQL() . |
protected abstract Serializable |
AbstractReturningDelegate.executeAndExtract(PreparedStatement insert,
SharedSessionContractImplementor session) |
protected abstract Serializable |
AbstractSelectingDelegate.getResult(SharedSessionContractImplementor session,
ResultSet rs,
Object entity)
Extract the generated key value from the given result set.
|
Serializable |
InsertGeneratedIdentifierDelegate.performInsert(String insertSQL,
SharedSessionContractImplementor session,
Binder binder)
Perform the indicated insert SQL statement and determine the identifier value
generated.
|
Serializable |
AbstractSelectingDelegate.performInsert(String insertSQL,
SharedSessionContractImplementor session,
Binder binder) |
Serializable |
AbstractReturningDelegate.performInsert(String insertSQL,
SharedSessionContractImplementor session,
Binder binder) |
protected abstract PreparedStatement |
AbstractReturningDelegate.prepare(String insertSQL,
SharedSessionContractImplementor session) |
protected void |
AbstractReturningDelegate.releaseStatement(PreparedStatement insert,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
UUID |
StandardRandomStrategy.generateUUID(SharedSessionContractImplementor session)
Delegates to
UUID.randomUUID() |
UUID |
CustomVersionOneStrategy.generateUUID(SharedSessionContractImplementor session) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSessionImpl
Functionality common to stateless and stateful sessions
|
class |
AbstractSharedSessionContract
Base class for SharedSessionContract/SharedSessionContractImplementor
implementations.
|
class |
SessionImpl
Concrete implementation of a Session.
|
class |
StatelessSessionImpl |
Modifier and Type | Method and Description |
---|---|
SharedSessionContractImplementor |
CriteriaImpl.getSession() |
protected SharedSessionContractImplementor |
AbstractScrollableResults.getSession() |
Modifier and Type | Method and Description |
---|---|
void |
CriteriaImpl.setSession(SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
protected void |
Loader.applyPostLoadLocks(Object[] row,
LockMode[] lockModesArray,
SharedSessionContractImplementor session) |
protected int |
Loader.bindNamedParameters(PreparedStatement statement,
Map<String,TypedValue> namedParams,
int startIndex,
SharedSessionContractImplementor session)
Bind named parameters to the JDBC prepared statement.
|
protected int |
Loader.bindParameterValues(PreparedStatement statement,
QueryParameters queryParameters,
int startIndex,
SharedSessionContractImplementor session)
Bind all parameter values into the prepared statement in preparation
for execution.
|
protected int |
Loader.bindPositionalParameters(PreparedStatement statement,
QueryParameters queryParameters,
int startIndex,
SharedSessionContractImplementor session)
Bind positional parameter values to the JDBC prepared statement.
|
protected List |
Loader.doList(SharedSessionContractImplementor session,
QueryParameters queryParameters)
Actually execute a query, ignoring the query cache
|
List |
Loader.doQueryAndInitializeNonLazyCollections(SharedSessionContractImplementor session,
QueryParameters queryParameters,
boolean returnProxies)
Execute an SQL query and attempt to instantiate instances of the class mapped by the given
persister from each row of the ResultSet.
|
List |
Loader.doQueryAndInitializeNonLazyCollections(SharedSessionContractImplementor session,
QueryParameters queryParameters,
boolean returnProxies,
ResultTransformer forcedResultTransformer) |
protected Loader.SqlStatementWrapper |
Loader.executeQueryStatement(QueryParameters queryParameters,
boolean scroll,
List<AfterLoadAction> afterLoadActions,
SharedSessionContractImplementor session)
Process query string by applying filters, LIMIT clause, locks and comments if necessary.
|
protected Loader.SqlStatementWrapper |
Loader.executeQueryStatement(String sqlStatement,
QueryParameters queryParameters,
boolean scroll,
List<AfterLoadAction> afterLoadActions,
SharedSessionContractImplementor session) |
protected void |
Loader.extractKeysFromResultSet(Loadable[] persisters,
QueryParameters queryParameters,
ResultSet resultSet,
SharedSessionContractImplementor session,
EntityKey[] keys,
LockMode[] lockModes,
List hydratedObjects) |
protected Object |
Loader.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SharedSessionContractImplementor session)
Get the actual object that is returned in the user-visible result list.
|
protected Object[] |
Loader.getResultRow(Object[] row,
ResultSet rs,
SharedSessionContractImplementor session) |
protected ResultSet |
Loader.getResultSet(CallableStatement st,
RowSelection selection,
LimitHandler limitHandler,
boolean autodiscovertypes,
SharedSessionContractImplementor session)
Execute given CallableStatement, advance to the first result and return SQL ResultSet.
|
protected ResultSet |
Loader.getResultSet(PreparedStatement st,
RowSelection selection,
LimitHandler limitHandler,
boolean autodiscovertypes,
SharedSessionContractImplementor session)
Execute given PreparedStatement, advance to the first result and return SQL ResultSet.
|
protected List |
Loader.list(SharedSessionContractImplementor session,
QueryParameters queryParameters,
Set<Serializable> querySpaces,
Type[] resultTypes)
Return the query results, using the query cache, called
by subclasses that implement cacheable queries
|
void |
Loader.loadCollection(SharedSessionContractImplementor session,
Serializable id,
Type type)
Called by subclasses that initialize collections
|
void |
Loader.loadCollectionBatch(SharedSessionContractImplementor session,
Serializable[] ids,
Type type)
Called by wrappers that batch initialize collections
|
protected void |
Loader.loadCollectionSubselect(SharedSessionContractImplementor session,
Serializable[] ids,
Object[] parameterValues,
Type[] parameterTypes,
Map<String,TypedValue> namedParameters,
Type type)
Called by subclasses that batch initialize collections
|
protected List |
Loader.loadEntity(SharedSessionContractImplementor session,
Object key,
Object index,
Type keyType,
Type indexType,
EntityPersister persister)
Called by subclasses that load entities
|
protected List |
Loader.loadEntity(SharedSessionContractImplementor session,
Object id,
Type identifierType,
Object optionalObject,
String optionalEntityName,
Serializable optionalIdentifier,
EntityPersister persister,
LockOptions lockOptions)
Called by subclasses that load entities
|
List |
Loader.loadEntityBatch(SharedSessionContractImplementor session,
Serializable[] ids,
Type idType,
Object optionalObject,
String optionalEntityName,
Serializable optionalId,
EntityPersister persister,
LockOptions lockOptions)
Called by wrappers that batch load entities
|
Object |
Loader.loadSequentialRowsForward(ResultSet resultSet,
SharedSessionContractImplementor session,
QueryParameters queryParameters,
boolean returnProxies)
Loads a single logical row from the result set moving forward.
|
Object |
Loader.loadSequentialRowsReverse(ResultSet resultSet,
SharedSessionContractImplementor session,
QueryParameters queryParameters,
boolean returnProxies,
boolean isLogicallyAfterLast)
Loads a single logical row from the result set moving forward.
|
Object |
Loader.loadSingleRow(ResultSet resultSet,
SharedSessionContractImplementor session,
QueryParameters queryParameters,
boolean returnProxies)
Loads a single row from the result set.
|
protected PreparedStatement |
Loader.prepareQueryStatement(String sql,
QueryParameters queryParameters,
LimitHandler limitHandler,
boolean scroll,
SharedSessionContractImplementor session)
Obtain a PreparedStatement with all parameters pre-bound.
|
protected List |
Loader.processResultSet(ResultSet rs,
QueryParameters queryParameters,
SharedSessionContractImplementor session,
boolean returnProxies,
ResultTransformer forcedResultTransformer,
int maxRows,
List<AfterLoadAction> afterLoadActions) |
protected void |
Loader.putResultInQueryCache(SharedSessionContractImplementor session,
QueryParameters queryParameters,
Type[] resultTypes,
QueryResultsCache queryCache,
QueryKey key,
List result) |
protected ScrollableResultsImplementor |
Loader.scroll(QueryParameters queryParameters,
Type[] returnTypes,
HolderInstantiator holderInstantiator,
SharedSessionContractImplementor session)
Return the query results, as an instance of ScrollableResults
|
Modifier and Type | Method and Description |
---|---|
void |
SubselectOneToManyLoader.initialize(Serializable id,
SharedSessionContractImplementor session) |
void |
SubselectCollectionLoader.initialize(Serializable id,
SharedSessionContractImplementor session) |
void |
LegacyBatchingCollectionInitializerBuilder.LegacyBatchingCollectionInitializer.initialize(Serializable id,
SharedSessionContractImplementor session) |
void |
DynamicBatchingCollectionInitializerBuilder.DynamicBatchingCollectionInitializer.initialize(Serializable id,
SharedSessionContractImplementor session) |
void |
CollectionLoader.initialize(Serializable id,
SharedSessionContractImplementor session) |
void |
CollectionInitializer.initialize(Serializable id,
SharedSessionContractImplementor session)
Initialize the given collection
|
Modifier and Type | Method and Description |
---|---|
void |
LegacyBatchingCollectionInitializerBuilder.LegacyBatchingCollectionInitializer.initialize(Serializable id,
SharedSessionContractImplementor session) |
void |
AbstractLoadPlanBasedCollectionInitializer.initialize(Serializable id,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
protected Object |
CriteriaLoader.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SharedSessionContractImplementor session) |
protected Object[] |
CriteriaLoader.getResultRow(Object[] row,
ResultSet rs,
SharedSessionContractImplementor session) |
List |
CriteriaLoader.list(SharedSessionContractImplementor session) |
ScrollableResultsImplementor |
CriteriaLoader.scroll(SharedSessionContractImplementor session,
ScrollMode scrollMode) |
Modifier and Type | Method and Description |
---|---|
int |
PositionalParamBinder.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int position) |
int |
NamedParamBinder.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int position) |
Modifier and Type | Method and Description |
---|---|
protected Object |
BatchingEntityLoader.doBatchLoad(Serializable id,
Loader loaderToUse,
SharedSessionContractImplementor session,
Serializable[] ids,
Object optionalObject,
LockOptions lockOptions) |
protected Object |
BatchingEntityLoader.getObjectFromList(List results,
Serializable id,
SharedSessionContractImplementor session) |
protected Object |
CollectionElementLoader.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SharedSessionContractImplementor session) |
protected Object |
AbstractEntityLoader.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SharedSessionContractImplementor session) |
Object |
UniqueEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session)
Deprecated.
|
Object |
BatchingEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session) |
Object |
AbstractEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session) |
Object |
UniqueEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions)
Load an entity instance by id.
|
Object |
LegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions) |
Object |
DynamicBatchingEntityLoaderBuilder.DynamicBatchingEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions) |
Object |
AbstractEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions) |
protected Object |
AbstractEntityLoader.load(SharedSessionContractImplementor session,
Object id,
Object optionalObject,
Serializable optionalId,
LockOptions lockOptions) |
Object |
EntityLoader.loadByUniqueKey(SharedSessionContractImplementor session,
Object key) |
Object |
CollectionElementLoader.loadElement(SharedSessionContractImplementor session,
Object key,
Object index) |
List |
DynamicBatchingEntityLoaderBuilder.multiLoad(OuterJoinLoadable persister,
Serializable[] ids,
SharedSessionContractImplementor session,
MultiLoadOptions loadOptions) |
protected List |
DynamicBatchingEntityLoaderBuilder.performUnorderedMultiLoad(OuterJoinLoadable persister,
Serializable[] ids,
SharedSessionContractImplementor session,
MultiLoadOptions loadOptions) |
Modifier and Type | Method and Description |
---|---|
protected Object |
BatchingEntityLoader.doBatchLoad(Serializable id,
Loader loaderToUse,
SharedSessionContractImplementor session,
Serializable[] ids,
Object optionalObject,
LockOptions lockOptions) |
protected Object |
BatchingEntityLoader.getObjectFromList(List results,
Serializable id,
SharedSessionContractImplementor session) |
Object |
BatchingEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session) |
Object |
AbstractLoadPlanBasedEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session) |
Object |
LegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions) |
Object |
AbstractLoadPlanBasedEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions) |
List |
AbstractLoadPlanBasedEntityLoader.loadEntityBatch(SharedSessionContractImplementor session,
Serializable[] ids,
Type idType,
Object optionalObject,
String optionalEntityName,
Serializable optionalId,
EntityPersister persister,
LockOptions lockOptions)
Called by wrappers that batch load entities
|
Modifier and Type | Method and Description |
---|---|
protected void |
QueryLoader.applyPostLoadLocks(Object[] row,
LockMode[] lockModesArray,
SharedSessionContractImplementor session) |
protected int |
QueryLoader.bindParameterValues(PreparedStatement statement,
QueryParameters queryParameters,
int startIndex,
SharedSessionContractImplementor session)
We specifically override this method here, because in general we know much more
about the parameters and their appropriate bind positions here then we do in
our super because we track them explicitly here through the ParameterSpecification
interface.
|
protected Object |
QueryLoader.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SharedSessionContractImplementor session) |
protected Object[] |
QueryLoader.getResultRow(Object[] row,
ResultSet rs,
SharedSessionContractImplementor session) |
List |
QueryLoader.list(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
ScrollableResultsImplementor |
QueryLoader.scroll(QueryParameters queryParameters,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
protected int |
AbstractLoadPlanBasedLoader.bindNamedParameters(PreparedStatement statement,
Map namedParams,
int startIndex,
SharedSessionContractImplementor session)
Bind named parameters to the JDBC prepared statement.
|
protected int |
AbstractLoadPlanBasedLoader.bindParameterValues(PreparedStatement statement,
QueryParameters queryParameters,
int startIndex,
SharedSessionContractImplementor session)
Bind all parameter values into the prepared statement in preparation
for execution.
|
protected int |
AbstractLoadPlanBasedLoader.bindPositionalParameters(PreparedStatement statement,
QueryParameters queryParameters,
int startIndex,
SharedSessionContractImplementor session)
Bind positional parameter values to the JDBC prepared statement.
|
protected List |
AbstractLoadPlanBasedLoader.executeLoad(SharedSessionContractImplementor session,
QueryParameters queryParameters,
LoadQueryDetails loadQueryDetails,
boolean returnProxies,
ResultTransformer forcedResultTransformer) |
protected List |
AbstractLoadPlanBasedLoader.executeLoad(SharedSessionContractImplementor session,
QueryParameters queryParameters,
LoadQueryDetails loadQueryDetails,
boolean returnProxies,
ResultTransformer forcedResultTransformer,
List<AfterLoadAction> afterLoadActions) |
protected AbstractLoadPlanBasedLoader.SqlStatementWrapper |
AbstractLoadPlanBasedLoader.executeQueryStatement(QueryParameters queryParameters,
boolean scroll,
List<AfterLoadAction> afterLoadActions,
SharedSessionContractImplementor session) |
protected AbstractLoadPlanBasedLoader.SqlStatementWrapper |
AbstractLoadPlanBasedLoader.executeQueryStatement(String sqlStatement,
QueryParameters queryParameters,
boolean scroll,
List<AfterLoadAction> afterLoadActions,
SharedSessionContractImplementor session) |
protected ResultSet |
AbstractLoadPlanBasedLoader.getResultSet(PreparedStatement st,
RowSelection selection,
LimitHandler limitHandler,
boolean autodiscovertypes,
SharedSessionContractImplementor session)
Execute given PreparedStatement, advance to the first result and return SQL ResultSet.
|
protected PreparedStatement |
AbstractLoadPlanBasedLoader.prepareQueryStatement(String sql,
QueryParameters queryParameters,
LimitHandler limitHandler,
boolean scroll,
SharedSessionContractImplementor session)
Obtain a PreparedStatement with all parameters pre-bound.
|
Modifier and Type | Method and Description |
---|---|
SharedSessionContractImplementor |
ResultSetProcessingContextImpl.getSession() |
Modifier and Type | Method and Description |
---|---|
List |
ResultSetProcessorImpl.extractResults(ResultSet resultSet,
SharedSessionContractImplementor session,
QueryParameters queryParameters,
NamedParameterContext namedParameterContext,
boolean returnProxies,
boolean readOnly,
ResultTransformer forcedResultTransformer,
List<AfterLoadAction> afterLoadActionList) |
static EntityKey |
ResultSetProcessorHelper.getOptionalObjectKey(QueryParameters queryParameters,
SharedSessionContractImplementor session) |
EntityKey |
ResultSetProcessorHelper.interpretEntityKey(SharedSessionContractImplementor session,
String optionalEntityName,
Serializable optionalId,
Object optionalObject) |
Constructor and Description |
---|
ResultSetProcessingContextImpl(ResultSet resultSet,
SharedSessionContractImplementor session,
LoadPlan loadPlan,
AliasResolutionContext aliasResolutionContext,
boolean readOnly,
boolean shouldUseOptionalEntityInformation,
boolean forceFetchLazyAttributes,
boolean shouldReturnProxies,
QueryParameters queryParameters,
NamedParameterContext namedParameterContext,
boolean hadSubselectFetches)
Builds a ResultSetProcessingContextImpl
|
Modifier and Type | Method and Description |
---|---|
SharedSessionContractImplementor |
ResultSetProcessingContext.getSession() |
Modifier and Type | Method and Description |
---|---|
List |
ResultSetProcessor.extractResults(ResultSet resultSet,
SharedSessionContractImplementor session,
QueryParameters queryParameters,
NamedParameterContext namedParameterContext,
boolean returnProxies,
boolean readOnly,
ResultTransformer forcedResultTransformer,
List<AfterLoadAction> afterLoadActions)
Process an entire ResultSet, performing all extractions.
|
Modifier and Type | Method and Description |
---|---|
void |
AfterLoadAction.afterLoad(SharedSessionContractImplementor session,
Object entity,
Loadable persister) |
Modifier and Type | Method and Description |
---|---|
void |
Component.ValueGenerationPlan.execute(SharedSessionContractImplementor session,
Object incomingObject,
Object injectionContext) |
Serializable |
Component.StandardGenerationContextLocator.locateGenerationContext(SharedSessionContractImplementor session,
Object incomingObject) |
Modifier and Type | Method and Description |
---|---|
Serializable |
ClassMetadata.getIdentifier(Object entity,
SharedSessionContractImplementor session)
Get the identifier of an instance (throw an exception if no identifier property)
|
Object[] |
ClassMetadata.getPropertyValuesToInsert(Object entity,
Map mergeMap,
SharedSessionContractImplementor session)
Return the values of the mapped properties of the object
|
Object |
ClassMetadata.instantiate(Serializable id,
SharedSessionContractImplementor session)
Create a class instance initialized with the given identifier
|
void |
ClassMetadata.setIdentifier(Object entity,
Serializable id,
SharedSessionContractImplementor session)
Inject the identifier value into the given entity.
|
Modifier and Type | Method and Description |
---|---|
int |
VersionTypeSeedParameterSpecification.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int position) |
int |
PositionalParameterSpecification.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int position)
Bind the appropriate value into the given statement at the specified position.
|
int |
ParameterBinder.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int position)
Bind the appropriate value into the given statement at the specified position.
|
int |
NamedParameterSpecification.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int position)
Bind the appropriate value into the given statement at the specified position.
|
int |
DynamicFilterParameterSpecification.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int start) |
int |
CollectionFilterKeyParameterSpecification.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int position) |
Modifier and Type | Method and Description |
---|---|
protected CollectionInitializer |
OneToManyPersister.createSubselectInitializer(SubselectFetch subselect,
SharedSessionContractImplementor session) |
protected CollectionInitializer |
BasicCollectionPersister.createSubselectInitializer(SubselectFetch subselect,
SharedSessionContractImplementor session) |
protected abstract CollectionInitializer |
AbstractCollectionPersister.createSubselectInitializer(SubselectFetch subselect,
SharedSessionContractImplementor session) |
void |
CollectionPersister.deleteRows(PersistentCollection collection,
Serializable key,
SharedSessionContractImplementor session)
Delete the persistent state of any elements that were removed from
the collection
|
void |
AbstractCollectionPersister.deleteRows(PersistentCollection collection,
Serializable id,
SharedSessionContractImplementor session) |
protected void |
AbstractCollectionPersister.doProcessQueuedOps(PersistentCollection collection,
Serializable key,
int nextIndex,
SharedSessionContractImplementor session)
|
protected void |
OneToManyPersister.doProcessQueuedOps(PersistentCollection collection,
Serializable id,
SharedSessionContractImplementor session) |
protected void |
BasicCollectionPersister.doProcessQueuedOps(PersistentCollection collection,
Serializable id,
SharedSessionContractImplementor session) |
protected abstract void |
AbstractCollectionPersister.doProcessQueuedOps(PersistentCollection collection,
Serializable key,
SharedSessionContractImplementor session) |
protected int |
OneToManyPersister.doUpdateRows(Serializable id,
PersistentCollection collection,
SharedSessionContractImplementor session) |
protected int |
BasicCollectionPersister.doUpdateRows(Serializable id,
PersistentCollection collection,
SharedSessionContractImplementor session) |
protected abstract int |
AbstractCollectionPersister.doUpdateRows(Serializable key,
PersistentCollection collection,
SharedSessionContractImplementor session) |
boolean |
CollectionPersister.elementExists(Serializable key,
Object element,
SharedSessionContractImplementor session) |
boolean |
AbstractCollectionPersister.elementExists(Serializable key,
Object element,
SharedSessionContractImplementor session) |
protected CollectionInitializer |
AbstractCollectionPersister.getAppropriateInitializer(Serializable key,
SharedSessionContractImplementor session) |
Object |
OneToManyPersister.getElementByIndex(Serializable key,
Object index,
SharedSessionContractImplementor session,
Object owner) |
Object |
CollectionPersister.getElementByIndex(Serializable key,
Object index,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractCollectionPersister.getElementByIndex(Serializable key,
Object index,
SharedSessionContractImplementor session,
Object owner) |
int |
CollectionPersister.getSize(Serializable key,
SharedSessionContractImplementor session) |
int |
AbstractCollectionPersister.getSize(Serializable key,
SharedSessionContractImplementor session) |
boolean |
CollectionPersister.indexExists(Serializable key,
Object index,
SharedSessionContractImplementor session) |
boolean |
AbstractCollectionPersister.indexExists(Serializable key,
Object index,
SharedSessionContractImplementor session) |
void |
NamedQueryCollectionInitializer.initialize(Serializable key,
SharedSessionContractImplementor session) |
void |
CollectionPersister.initialize(Serializable key,
SharedSessionContractImplementor session)
Initialize the given collection with the given key
TODO: add owner argument!!
|
void |
AbstractCollectionPersister.initialize(Serializable key,
SharedSessionContractImplementor session) |
void |
OneToManyPersister.insertRows(PersistentCollection collection,
Serializable id,
SharedSessionContractImplementor session) |
void |
CollectionPersister.insertRows(PersistentCollection collection,
Serializable key,
SharedSessionContractImplementor session)
Insert the persistent state of any new collection elements
|
void |
AbstractCollectionPersister.insertRows(PersistentCollection collection,
Serializable id,
SharedSessionContractImplementor session) |
boolean |
CollectionPersister.isAffectedByEnabledFilters(SharedSessionContractImplementor session) |
boolean |
AbstractCollectionPersister.isAffectedByEnabledFilters(SharedSessionContractImplementor session) |
void |
CollectionPersister.processQueuedOps(PersistentCollection collection,
Serializable key,
SharedSessionContractImplementor session)
Process queued operations within the PersistentCollection.
|
void |
AbstractCollectionPersister.processQueuedOps(PersistentCollection collection,
Serializable key,
SharedSessionContractImplementor session) |
Object |
CollectionPersister.readElement(ResultSet rs,
Object owner,
String[] columnAliases,
SharedSessionContractImplementor session)
Read the element from a row of the JDBC ResultSet
|
Object |
AbstractCollectionPersister.readElement(ResultSet rs,
Object owner,
String[] aliases,
SharedSessionContractImplementor session) |
Object |
CollectionPersister.readIdentifier(ResultSet rs,
String columnAlias,
SharedSessionContractImplementor session)
Read the identifier from a row of the JDBC ResultSet
|
Object |
AbstractCollectionPersister.readIdentifier(ResultSet rs,
String alias,
SharedSessionContractImplementor session) |
Object |
CollectionPersister.readIndex(ResultSet rs,
String[] columnAliases,
SharedSessionContractImplementor session)
Read the index from a row of the JDBC ResultSet
|
Object |
AbstractCollectionPersister.readIndex(ResultSet rs,
String[] aliases,
SharedSessionContractImplementor session) |
Object |
CollectionPersister.readKey(ResultSet rs,
String[] keyAliases,
SharedSessionContractImplementor session)
Read the key from a row of the JDBC ResultSet
|
Object |
AbstractCollectionPersister.readKey(ResultSet rs,
String[] aliases,
SharedSessionContractImplementor session) |
void |
OneToManyPersister.recreate(PersistentCollection collection,
Serializable id,
SharedSessionContractImplementor session) |
void |
CollectionPersister.recreate(PersistentCollection collection,
Serializable key,
SharedSessionContractImplementor session)
(Re)create the collection's persistent state
|
void |
AbstractCollectionPersister.recreate(PersistentCollection collection,
Serializable id,
SharedSessionContractImplementor session) |
void |
CollectionPersister.remove(Serializable id,
SharedSessionContractImplementor session)
Completely remove the persistent state of the collection
|
void |
AbstractCollectionPersister.remove(Serializable id,
SharedSessionContractImplementor session) |
void |
CollectionPersister.updateRows(PersistentCollection collection,
Serializable key,
SharedSessionContractImplementor session)
Update the persistent state of any elements that were modified
|
void |
AbstractCollectionPersister.updateRows(PersistentCollection collection,
Serializable id,
SharedSessionContractImplementor session) |
protected int |
AbstractCollectionPersister.writeElement(PreparedStatement st,
Object elt,
int i,
SharedSessionContractImplementor session)
Write the element to a JDBC PreparedStatement
|
protected int |
AbstractCollectionPersister.writeElementToWhere(PreparedStatement st,
Object elt,
int i,
SharedSessionContractImplementor session)
Write the element to a JDBC PreparedStatement
|
int |
AbstractCollectionPersister.writeIdentifier(PreparedStatement st,
Object id,
int i,
SharedSessionContractImplementor session)
Write the identifier to a JDBC PreparedStatement
|
protected int |
AbstractCollectionPersister.writeIndex(PreparedStatement st,
Object index,
int i,
SharedSessionContractImplementor session)
Write the index to a JDBC PreparedStatement
|
protected int |
AbstractCollectionPersister.writeIndexToWhere(PreparedStatement st,
Object index,
int i,
SharedSessionContractImplementor session)
Write the index to a JDBC PreparedStatement
|
protected int |
AbstractCollectionPersister.writeKey(PreparedStatement st,
Serializable key,
int i,
SharedSessionContractImplementor session)
Write the key to a JDBC PreparedStatement
|
Modifier and Type | Method and Description |
---|---|
void |
EntityPersister.afterInitialize(Object entity,
SharedSessionContractImplementor session)
Called just after the entities properties have been initialized
|
void |
AbstractEntityPersister.afterInitialize(Object entity,
SharedSessionContractImplementor session) |
void |
EntityPersister.afterReassociate(Object entity,
SharedSessionContractImplementor session)
Called just after the entity has been reassociated with the session
|
void |
AbstractEntityPersister.afterReassociate(Object entity,
SharedSessionContractImplementor session) |
CacheEntry |
EntityPersister.buildCacheEntry(Object entity,
Object[] state,
Object version,
SharedSessionContractImplementor session) |
CacheEntry |
AbstractEntityPersister.buildCacheEntry(Object entity,
Object[] state,
Object version,
SharedSessionContractImplementor session) |
CacheEntry |
AbstractEntityPersister.CacheEntryHelper.buildCacheEntry(Object entity,
Object[] state,
Object version,
SharedSessionContractImplementor session) |
Object |
EntityPersister.createProxy(Serializable id,
SharedSessionContractImplementor session)
Create a new proxy instance
|
Object |
AbstractEntityPersister.createProxy(Serializable id,
SharedSessionContractImplementor session) |
protected int |
AbstractEntityPersister.dehydrate(Serializable id,
Object[] fields,
boolean[] includeProperty,
boolean[][] includeColumns,
int j,
PreparedStatement st,
SharedSessionContractImplementor session,
boolean isUpdate) |
protected int |
AbstractEntityPersister.dehydrate(Serializable id,
Object[] fields,
Object rowId,
boolean[] includeProperty,
boolean[][] includeColumns,
int j,
PreparedStatement ps,
SharedSessionContractImplementor session,
int index,
boolean isUpdate)
Marshall the fields of a persistent instance to a prepared statement
|
protected void |
AbstractEntityPersister.delete(Serializable id,
Object version,
int j,
Object object,
String sql,
SharedSessionContractImplementor session,
Object[] loadedState)
Perform an SQL DELETE
|
void |
EntityPersister.delete(Serializable id,
Object version,
Object object,
SharedSessionContractImplementor session)
Delete a persistent instance
|
void |
AbstractEntityPersister.delete(Serializable id,
Object version,
Object object,
SharedSessionContractImplementor session)
Delete an object
|
int[] |
EntityPersister.findDirty(Object[] currentState,
Object[] previousState,
Object owner,
SharedSessionContractImplementor session)
Compare the two snapshots to determine if they represent dirty state.
|
int[] |
AbstractEntityPersister.findDirty(Object[] currentState,
Object[] previousState,
Object entity,
SharedSessionContractImplementor session)
Locate the property-indices of all properties considered to be dirty.
|
int[] |
EntityPersister.findModified(Object[] old,
Object[] current,
Object object,
SharedSessionContractImplementor session)
Compare the two snapshots to determine if they represent modified state.
|
int[] |
AbstractEntityPersister.findModified(Object[] old,
Object[] current,
Object entity,
SharedSessionContractImplementor session)
Locate the property-indices of all properties considered to be dirty.
|
Object |
EntityPersister.forceVersionIncrement(Serializable id,
Object currentVersion,
SharedSessionContractImplementor session) |
Object |
AbstractEntityPersister.forceVersionIncrement(Serializable id,
Object currentVersion,
SharedSessionContractImplementor session) |
protected UniqueEntityLoader |
AbstractEntityPersister.getAppropriateLoader(LockOptions lockOptions,
SharedSessionContractImplementor session) |
protected Serializable |
AbstractEntityPersister.getCollectionKey(CollectionPersister persister,
Object owner,
EntityEntry ownerEntry,
SharedSessionContractImplementor session) |
Object |
EntityPersister.getCurrentVersion(Serializable id,
SharedSessionContractImplementor session)
Get the current version of the object, or return null if there is no row for
the given identifier.
|
Object |
AbstractEntityPersister.getCurrentVersion(Serializable id,
SharedSessionContractImplementor session)
Retrieve the version number
|
Object[] |
EntityPersister.getDatabaseSnapshot(Serializable id,
SharedSessionContractImplementor session)
Get the current database state of the object, in a "hydrated" form, without
resolving identifiers
|
Object[] |
AbstractEntityPersister.getDatabaseSnapshot(Serializable id,
SharedSessionContractImplementor session) |
Serializable |
EntityPersister.getIdByUniqueKey(Serializable key,
String uniquePropertyName,
SharedSessionContractImplementor session) |
Serializable |
AbstractEntityPersister.getIdByUniqueKey(Serializable key,
String uniquePropertyName,
SharedSessionContractImplementor session) |
Serializable |
EntityPersister.getIdentifier(Object entity,
SharedSessionContractImplementor session)
Get the identifier of an instance (throw an exception if no identifier property)
|
Serializable |
AbstractEntityPersister.getIdentifier(Object entity,
SharedSessionContractImplementor session) |
Object[] |
EntityPersister.getNaturalIdentifierSnapshot(Serializable id,
SharedSessionContractImplementor session)
Retrieve the current state of the natural-id properties from the database.
|
Object[] |
AbstractEntityPersister.getNaturalIdentifierSnapshot(Serializable id,
SharedSessionContractImplementor session) |
Object[] |
EntityPersister.getPropertyValuesToInsert(Object object,
Map mergeMap,
SharedSessionContractImplementor session)
Return the values of the insertable properties of the object (including backrefs)
|
Object[] |
AbstractEntityPersister.getPropertyValuesToInsert(Object object,
Map mergeMap,
SharedSessionContractImplementor session) |
Object[] |
Loadable.hydrate(ResultSet rs,
Serializable id,
Object object,
Loadable rootLoadable,
String[][] suffixedPropertyColumns,
boolean allProperties,
SharedSessionContractImplementor session)
Retrieve property values from one row of a result set
|
Object[] |
AbstractEntityPersister.hydrate(ResultSet rs,
Serializable id,
Object object,
Loadable rootLoadable,
String[][] suffixedPropertyColumns,
boolean allProperties,
SharedSessionContractImplementor session)
Unmarshall the fields of a persistent instance from a result set,
without resolving associations or collections.
|
Object |
AbstractEntityPersister.initializeLazyProperty(String fieldName,
Object entity,
SharedSessionContractImplementor session) |
protected Serializable |
AbstractEntityPersister.insert(Object[] fields,
boolean[] notNull,
String sql,
Object object,
SharedSessionContractImplementor session)
Perform an SQL INSERT, and then retrieve a generated identifier.
|
Serializable |
EntityPersister.insert(Object[] fields,
Object object,
SharedSessionContractImplementor session)
Persist an instance, using a natively generated identifier (optional operation)
|
Serializable |
AbstractEntityPersister.insert(Object[] fields,
Object object,
SharedSessionContractImplementor session) |
protected void |
AbstractEntityPersister.insert(Serializable id,
Object[] fields,
boolean[] notNull,
int j,
String sql,
Object object,
SharedSessionContractImplementor session)
Perform an SQL INSERT.
|
void |
EntityPersister.insert(Serializable id,
Object[] fields,
Object object,
SharedSessionContractImplementor session)
Persist an instance
|
void |
AbstractEntityPersister.insert(Serializable id,
Object[] fields,
Object object,
SharedSessionContractImplementor session) |
Object |
EntityPersister.instantiate(Serializable id,
SharedSessionContractImplementor session)
Create a class instance initialized with the given identifier
|
Object |
AbstractEntityPersister.instantiate(Serializable id,
SharedSessionContractImplementor session) |
boolean |
DiscriminatorType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
Boolean |
EntityPersister.isTransient(Object object,
SharedSessionContractImplementor session)
Is this a new transient instance?
|
Boolean |
AbstractEntityPersister.isTransient(Object entity,
SharedSessionContractImplementor session) |
Object |
EntityPersister.load(Serializable id,
Object optionalObject,
LockMode lockMode,
SharedSessionContractImplementor session)
Load an instance of the persistent class.
|
Object |
AbstractEntityPersister.load(Serializable id,
Object optionalObject,
LockMode lockMode,
SharedSessionContractImplementor session)
Load an instance using either the forUpdateLoader or the outer joining loader,
depending upon the value of the lock parameter
|
Object |
EntityPersister.load(Serializable id,
Object optionalObject,
LockOptions lockOptions,
SharedSessionContractImplementor session)
Load an instance of the persistent class.
|
Object |
AbstractEntityPersister.load(Serializable id,
Object optionalObject,
LockOptions lockOptions,
SharedSessionContractImplementor session)
Load an instance using either the forUpdateLoader or the outer joining loader,
depending upon the value of the lock parameter
|
Object |
NamedQueryLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session) |
Object |
NamedQueryLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions) |
Object |
UniqueKeyLoadable.loadByUniqueKey(String propertyName,
Object uniqueKey,
SharedSessionContractImplementor session)
Load an instance of the persistent class, by a unique key other
than the primary key.
|
Object |
AbstractEntityPersister.loadByUniqueKey(String propertyName,
Object uniqueKey,
SharedSessionContractImplementor session) |
Serializable |
EntityPersister.loadEntityIdByNaturalId(Object[] naturalIdValues,
LockOptions lockOptions,
SharedSessionContractImplementor session)
Load the id for the entity based on the natural id.
|
Serializable |
AbstractEntityPersister.loadEntityIdByNaturalId(Object[] naturalIdValues,
LockOptions lockOptions,
SharedSessionContractImplementor session) |
void |
EntityPersister.lock(Serializable id,
Object version,
Object object,
LockMode lockMode,
SharedSessionContractImplementor session)
Do a version check (optional operation)
|
void |
AbstractEntityPersister.lock(Serializable id,
Object version,
Object object,
LockMode lockMode,
SharedSessionContractImplementor session) |
void |
EntityPersister.lock(Serializable id,
Object version,
Object object,
LockOptions lockOptions,
SharedSessionContractImplementor session)
Do a version check (optional operation)
|
void |
AbstractEntityPersister.lock(Serializable id,
Object version,
Object object,
LockOptions lockOptions,
SharedSessionContractImplementor session) |
List |
EntityPersister.multiLoad(Serializable[] ids,
SharedSessionContractImplementor session,
MultiLoadOptions loadOptions)
Performs a load of multiple entities (of this type) by identifier simultaneously.
|
List |
AbstractEntityPersister.multiLoad(Serializable[] ids,
SharedSessionContractImplementor session,
MultiLoadOptions loadOptions) |
Object |
DiscriminatorType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
DiscriminatorType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner) |
void |
DiscriminatorType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
DiscriminatorType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
void |
EntityPersister.processInsertGeneratedProperties(Serializable id,
Object entity,
Object[] state,
SharedSessionContractImplementor session)
Perform a select to retrieve the values of any generated properties
back from the database, injecting these generated values into the
given entity as well as writing this state to the
PersistenceContext . |
void |
AbstractEntityPersister.processInsertGeneratedProperties(Serializable id,
Object entity,
Object[] state,
SharedSessionContractImplementor session) |
void |
EntityPersister.processUpdateGeneratedProperties(Serializable id,
Object entity,
Object[] state,
SharedSessionContractImplementor session)
Perform a select to retrieve the values of any generated properties
back from the database, injecting these generated values into the
given entity as well as writing this state to the
PersistenceContext . |
void |
AbstractEntityPersister.processUpdateGeneratedProperties(Serializable id,
Object entity,
Object[] state,
SharedSessionContractImplementor session) |
Object |
DiscriminatorType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
void |
EntityPersister.resetIdentifier(Object entity,
Serializable currentId,
Object currentVersion,
SharedSessionContractImplementor session)
Set the identifier and version of the given instance back to its "unsaved" value.
|
void |
AbstractEntityPersister.resetIdentifier(Object entity,
Serializable currentId,
Object currentVersion,
SharedSessionContractImplementor session) |
void |
EntityPersister.setIdentifier(Object entity,
Serializable id,
SharedSessionContractImplementor session)
Inject the identifier value into the given entity.
|
void |
AbstractEntityPersister.setIdentifier(Object entity,
Serializable id,
SharedSessionContractImplementor session) |
void |
EntityPersister.update(Serializable id,
Object[] fields,
int[] dirtyFields,
boolean hasDirtyCollection,
Object[] oldFields,
Object oldVersion,
Object object,
Object rowId,
SharedSessionContractImplementor session)
Update a persistent instance
|
void |
AbstractEntityPersister.update(Serializable id,
Object[] fields,
int[] dirtyFields,
boolean hasDirtyCollection,
Object[] oldFields,
Object oldVersion,
Object object,
Object rowId,
SharedSessionContractImplementor session)
Update an object
|
protected boolean |
AbstractEntityPersister.update(Serializable id,
Object[] fields,
Object[] oldFields,
Object rowId,
boolean[] includeProperty,
int j,
Object oldVersion,
Object object,
String sql,
SharedSessionContractImplementor session) |
protected void |
AbstractEntityPersister.updateOrInsert(Serializable id,
Object[] fields,
Object[] oldFields,
Object rowId,
boolean[] includeProperty,
int j,
Object oldVersion,
Object object,
String sql,
SharedSessionContractImplementor session)
Perform an SQL UPDATE or SQL INSERT
|
Modifier and Type | Method and Description |
---|---|
static String |
MessageHelper.collectionInfoString(CollectionPersister persister,
PersistentCollection collection,
Serializable collectionKey,
SharedSessionContractImplementor session)
Generate an info message string relating to a particular managed
collection.
|
Modifier and Type | Method and Description |
---|---|
ProcedureCall |
ProcedureCallMemento.makeProcedureCall(SharedSessionContractImplementor session)
Convert the memento back into an executable (connected) form.
|
Modifier and Type | Method and Description |
---|---|
SharedSessionContractImplementor |
ProcedureCallImpl.getSession() |
Constructor and Description |
---|
ProcedureCallImpl(SharedSessionContractImplementor session,
String procedureName)
The no-returns form.
|
ProcedureCallImpl(SharedSessionContractImplementor session,
String procedureName,
Class... resultClasses)
The result Class(es) return form
|
ProcedureCallImpl(SharedSessionContractImplementor session,
String procedureName,
String... resultSetMappings)
The result-set-mapping(s) return form
|
Modifier and Type | Method and Description |
---|---|
void |
CallableStatementSupport.registerParameters(String procedureName,
CallableStatement statement,
ParameterStrategy parameterStrategy,
List<ParameterRegistrationImplementor<?>> parameterRegistrations,
SharedSessionContractImplementor session) |
default String |
CallableStatementSupport.renderCallableStatement(String name,
ParameterStrategy parameterStrategy,
List<ParameterRegistrationImplementor<?>> parameterRegistrations,
SharedSessionContractImplementor session) |
default String |
CallableStatementSupport.renderCallableStatement(String procedureName,
ProcedureParameterMetadata parameterMetadata,
ProcedureParamBindings paramBindings,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
Object |
PropertyAccessMapImpl.GetterImpl.getForInsert(Object owner,
Map mergeMap,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
Object |
GetterMethodImpl.getForInsert(Object owner,
Map mergeMap,
SharedSessionContractImplementor session) |
Object |
GetterFieldImpl.getForInsert(Object owner,
Map mergeMap,
SharedSessionContractImplementor session) |
Object |
Getter.getForInsert(Object owner,
Map mergeMap,
SharedSessionContractImplementor session)
Get the property value from the given owner instance.
|
Object |
EnhancedGetterMethodImpl.getForInsert(Object owner,
Map mergeMap,
SharedSessionContractImplementor session)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SharedSessionContractImplementor |
LazyInitializer.getSession()
Get the session to which this proxy is associated, or null if it is not attached.
|
SharedSessionContractImplementor |
AbstractLazyInitializer.getSession() |
Modifier and Type | Method and Description |
---|---|
Object |
LazyInitializer.getImplementation(SharedSessionContractImplementor session)
Return the underlying persistent object in the given session, or null if not contained in this session's
persistence context.
|
Object |
AbstractLazyInitializer.getImplementation(SharedSessionContractImplementor s) |
HibernateProxy |
ProxyFactory.getProxy(Serializable id,
SharedSessionContractImplementor session)
Create a new proxy instance
|
void |
LazyInitializer.setSession(SharedSessionContractImplementor session)
Associate the proxy with the given session.
|
void |
AbstractLazyInitializer.setSession(SharedSessionContractImplementor s) |
Constructor and Description |
---|
AbstractLazyInitializer(String entityName,
Serializable id,
SharedSessionContractImplementor session)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
HibernateProxy |
MapProxyFactory.getProxy(Serializable id,
SharedSessionContractImplementor session) |
Constructor and Description |
---|
BasicLazyInitializer(String entityName,
Class persistentClass,
Serializable id,
Method getIdentifierMethod,
Method setIdentifierMethod,
CompositeType componentIdType,
SharedSessionContractImplementor session,
boolean overridesEquals) |
Modifier and Type | Method and Description |
---|---|
HibernateProxy |
ByteBuddyProxyFactory.getProxy(Serializable id,
SharedSessionContractImplementor session) |
Constructor and Description |
---|
ByteBuddyInterceptor(String entityName,
Class persistentClass,
Class[] interfaces,
Serializable id,
Method getIdentifierMethod,
Method setIdentifierMethod,
CompositeType componentIdType,
SharedSessionContractImplementor session,
boolean overridesEquals) |
Modifier and Type | Method and Description |
---|---|
HibernateProxy |
JavassistProxyFactory.getProxy(Serializable id,
SharedSessionContractImplementor session) |
Constructor and Description |
---|
JavassistLazyInitializer(String entityName,
Class persistentClass,
Class[] interfaces,
Serializable id,
Method getIdentifierMethod,
Method setIdentifierMethod,
CompositeType componentIdType,
SharedSessionContractImplementor session,
boolean overridesEquals) |
Modifier and Type | Method and Description |
---|---|
SharedSessionContractImplementor |
AbstractProducedQuery.getProducer() |
Modifier and Type | Method and Description |
---|---|
String |
QueryParameterBindingsImpl.expandListValuedParameters(String queryString,
SharedSessionContractImplementor session)
Deprecated.
(since 5.2) expected changes to "collection-valued parameter binding" in 6.0
|
Constructor and Description |
---|
AbstractProducedQuery(SharedSessionContractImplementor producer,
ParameterMetadata parameterMetadata) |
CollectionFilterImpl(String queryString,
Object collection,
SharedSessionContractImplementor session,
ParameterMetadataImpl parameterMetadata) |
NativeQueryImpl(NamedSQLQueryDefinition queryDef,
SharedSessionContractImplementor session,
ParameterMetadata parameterMetadata)
Constructs a NativeQueryImpl given a sql query defined in the mappings.
|
NativeQueryImpl(String sqlString,
boolean callable,
SharedSessionContractImplementor session,
ParameterMetadata sqlParameterMetadata) |
QueryImpl(SharedSessionContractImplementor producer,
ParameterMetadata parameterMetadata,
String queryString) |
Modifier and Type | Method and Description |
---|---|
String |
ProcedureParamBindings.expandListValuedParameters(String queryString,
SharedSessionContractImplementor producer) |
Modifier and Type | Method and Description |
---|---|
String |
QueryParameterBindings.expandListValuedParameters(String queryString,
SharedSessionContractImplementor producer) |
Modifier and Type | Method and Description |
---|---|
SharedSessionContractImplementor |
ResultContext.getSession() |
Modifier and Type | Method and Description |
---|---|
void |
PojoEntityTuplizer.afterInitialize(Object entity,
SharedSessionContractImplementor session) |
void |
EntityTuplizer.afterInitialize(Object entity,
SharedSessionContractImplementor session)
Called just after the entities properties have been initialized.
|
void |
AbstractEntityTuplizer.afterInitialize(Object entity,
SharedSessionContractImplementor session) |
Object |
EntityTuplizer.createProxy(Serializable id,
SharedSessionContractImplementor session)
Generates an appropriate proxy representation of this entity for this
entity-mode.
|
Object |
AbstractEntityTuplizer.createProxy(Serializable id,
SharedSessionContractImplementor session) |
Serializable |
EntityTuplizer.getIdentifier(Object entity,
SharedSessionContractImplementor session)
Extract the identifier value from the given entity.
|
Serializable |
AbstractEntityTuplizer.getIdentifier(Object entity,
SharedSessionContractImplementor session) |
Object[] |
PojoEntityTuplizer.getPropertyValuesToInsert(Object entity,
Map mergeMap,
SharedSessionContractImplementor session) |
Object[] |
EntityTuplizer.getPropertyValuesToInsert(Object entity,
Map mergeMap,
SharedSessionContractImplementor session)
Extract the values of the insertable properties of the entity (including backrefs)
|
Object[] |
AbstractEntityTuplizer.getPropertyValuesToInsert(Object entity,
Map mergeMap,
SharedSessionContractImplementor session) |
LazyAttributeLoadingInterceptor |
BytecodeEnhancementMetadataPojoImpl.injectInterceptor(Object entity,
SharedSessionContractImplementor session) |
LazyAttributeLoadingInterceptor |
BytecodeEnhancementMetadataNonPojoImpl.injectInterceptor(Object entity,
SharedSessionContractImplementor session) |
Object |
EntityTuplizer.instantiate(Serializable id,
SharedSessionContractImplementor session)
Create an entity instance initialized with the given identifier.
|
Object |
AbstractEntityTuplizer.instantiate(Serializable id,
SharedSessionContractImplementor session) |
void |
EntityTuplizer.resetIdentifier(Object entity,
Serializable currentId,
Object currentVersion,
SharedSessionContractImplementor session)
Inject the given identifier and version into the entity, in order to
"roll back" to their original values.
|
void |
AbstractEntityTuplizer.resetIdentifier(Object entity,
Serializable currentId,
Object currentVersion,
SharedSessionContractImplementor session) |
void |
EntityTuplizer.setIdentifier(Object entity,
Serializable id,
SharedSessionContractImplementor session)
Inject the identifier value into the given entity.
|
void |
AbstractEntityTuplizer.setIdentifier(Object entity,
Serializable id,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
static Object[] |
TypeHelper.assemble(Serializable[] row,
Type[] types,
SharedSessionContractImplementor session,
Object owner)
Deprecated.
Apply the
Type.assemble(java.io.Serializable, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object) operation across a series of values. |
Object |
Type.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner)
Reconstruct the object from its disassembled state.
|
Object |
SpecialOneToOneType.assemble(Serializable oid,
SharedSessionContractImplementor session,
Object owner) |
Object |
OneToOneType.assemble(Serializable oid,
SharedSessionContractImplementor session,
Object owner) |
Object |
ManyToOneType.assemble(Serializable oid,
SharedSessionContractImplementor session,
Object owner) |
Object |
CustomType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner) |
Object |
CompositeCustomType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner) |
Object |
ComponentType.assemble(Serializable object,
SharedSessionContractImplementor session,
Object owner) |
Object |
CollectionType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner) |
Object |
AnyType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner) |
static void |
TypeHelper.beforeAssemble(Serializable[] row,
Type[] types,
SharedSessionContractImplementor session)
Deprecated.
Apply the
Type.beforeAssemble(java.io.Serializable, org.hibernate.engine.spi.SharedSessionContractImplementor) operation across a series of values. |
void |
Type.beforeAssemble(Serializable cached,
SharedSessionContractImplementor session)
Called before assembling a query result set from the query cache, to allow batch fetching
of entities missing from the second-level cache.
|
void |
ManyToOneType.beforeAssemble(Serializable oid,
SharedSessionContractImplementor session) |
void |
AbstractType.beforeAssemble(Serializable cached,
SharedSessionContractImplementor session) |
void |
AbstractStandardBasicType.beforeAssemble(Serializable cached,
SharedSessionContractImplementor session) |
boolean |
CustomCollectionType.contains(Object collection,
Object entity,
SharedSessionContractImplementor session) |
boolean |
CollectionType.contains(Object collection,
Object childObject,
SharedSessionContractImplementor session) |
static void |
TypeHelper.deepCopy(Object[] values,
Type[] types,
boolean[] copy,
Object[] target,
SharedSessionContractImplementor session)
Deprecated.
Deep copy a series of values from one array to another...
|
static Serializable[] |
TypeHelper.disassemble(Object[] row,
Type[] types,
boolean[] nonCacheable,
SharedSessionContractImplementor session,
Object owner)
Deprecated.
Apply the
Type.disassemble(java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object) operation across a series of values. |
Serializable |
Type.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner)
Return a disassembled representation of the object.
|
Serializable |
SpecialOneToOneType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
OneToOneType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
ManyToOneType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
CustomType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
CompositeCustomType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
ComponentType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
CollectionType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
AnyType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
AbstractType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
AbstractStandardBasicType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
T |
ProcedureParameterExtractionAware.extract(CallableStatement statement,
int startIndex,
SharedSessionContractImplementor session)
Perform the extraction
|
Object |
CustomType.extract(CallableStatement statement,
int startIndex,
SharedSessionContractImplementor session) |
Object |
ComponentType.extract(CallableStatement statement,
int startIndex,
SharedSessionContractImplementor session) |
T |
AbstractStandardBasicType.extract(CallableStatement statement,
int startIndex,
SharedSessionContractImplementor session) |
T |
ProcedureParameterExtractionAware.extract(CallableStatement statement,
String[] paramNames,
SharedSessionContractImplementor session)
Perform the extraction
|
Object |
CustomType.extract(CallableStatement statement,
String[] paramNames,
SharedSessionContractImplementor session) |
Object |
ComponentType.extract(CallableStatement statement,
String[] paramNames,
SharedSessionContractImplementor session) |
T |
AbstractStandardBasicType.extract(CallableStatement statement,
String[] paramNames,
SharedSessionContractImplementor session) |
static int[] |
TypeHelper.findDirty(NonIdentifierAttribute[] properties,
Object[] currentState,
Object[] previousState,
boolean[][] includeColumns,
boolean anyUninitializedProperties,
SharedSessionContractImplementor session)
Deprecated.
Use {org.hibernate.type.TypeHelper
TypeHelper.findDirty(NonIdentifierAttribute[], Object[], Object[], boolean[][], SharedSessionContractImplementor) indtead |
static int[] |
TypeHelper.findDirty(NonIdentifierAttribute[] properties,
Object[] currentState,
Object[] previousState,
boolean[][] includeColumns,
SharedSessionContractImplementor session)
Deprecated.
Determine if any of the given field values are dirty, returning an array containing
indices of the dirty fields.
|
static int[] |
TypeHelper.findModified(NonIdentifierAttribute[] properties,
Object[] currentState,
Object[] previousState,
boolean[][] includeColumns,
boolean[] includeProperties,
boolean anyUninitializedProperties,
SharedSessionContractImplementor session)
|
static int[] |
TypeHelper.findModified(NonIdentifierAttribute[] properties,
Object[] currentState,
Object[] previousState,
boolean[][] includeColumns,
boolean[] includeProperties,
SharedSessionContractImplementor session)
Deprecated.
Determine if any of the given field values are modified, returning an array containing
indices of the modified fields.
|
Object |
SingleColumnType.get(ResultSet rs,
String name,
SharedSessionContractImplementor session)
Get a column value from a result set, without worrying about the possibility of null values.
|
Object |
AbstractStandardBasicType.get(ResultSet rs,
String name,
SharedSessionContractImplementor session) |
Object |
CollectionType.getCollection(Serializable key,
SharedSessionContractImplementor session,
Object owner,
Boolean overridingEager)
instantiate a collection wrapper (called when loading an object)
|
Iterator |
CollectionType.getElementsIterator(Object collection,
SharedSessionContractImplementor session)
Get an iterator over the element set of the collection, which may not yet be wrapped
|
protected Object |
EntityType.getIdentifier(Object value,
SharedSessionContractImplementor session) |
Serializable |
CollectionType.getIdOfOwnerOrNull(Serializable key,
SharedSessionContractImplementor session)
Get the id value from the owning entity key, usually the same as the key, but might be some
other property, in the case of property-ref
|
Serializable |
CollectionType.getKeyOfOwner(Object owner,
SharedSessionContractImplementor session)
Get the key value from the owning entity instance, usually the identifier, but might be some
other unique key, in the case of property-ref
|
Object |
CompositeType.getPropertyValue(Object component,
int index,
SharedSessionContractImplementor session)
Extract a particular component property value indicated by index.
|
Object |
CompositeCustomType.getPropertyValue(Object component,
int i,
SharedSessionContractImplementor session) |
Object |
ComponentType.getPropertyValue(Object component,
int i,
SharedSessionContractImplementor session) |
Object |
AnyType.getPropertyValue(Object component,
int i,
SharedSessionContractImplementor session) |
Object[] |
CompositeType.getPropertyValues(Object component,
SharedSessionContractImplementor session)
Extract the values of the component properties from the given component instance
|
Object[] |
CompositeCustomType.getPropertyValues(Object component,
SharedSessionContractImplementor session) |
Object[] |
ComponentType.getPropertyValues(Object component,
SharedSessionContractImplementor session) |
Object[] |
AnyType.getPropertyValues(Object component,
SharedSessionContractImplementor session) |
protected Blob |
BlobType.getReplacement(Blob original,
Blob target,
SharedSessionContractImplementor session) |
protected Clob |
ClobType.getReplacement(Clob original,
Clob target,
SharedSessionContractImplementor session) |
protected NClob |
NClobType.getReplacement(NClob original,
NClob target,
SharedSessionContractImplementor session) |
protected T |
AbstractStandardBasicType.getReplacement(T original,
T target,
SharedSessionContractImplementor session) |
Object |
Type.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner)
Extract a value from the JDBC result set.
|
Object |
SpecialOneToOneType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
OneToOneType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
ManyToOneType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
ComponentType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
CollectionType.hydrate(ResultSet rs,
String[] name,
SharedSessionContractImplementor session,
Object owner) |
Object |
AnyType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
EmbeddedComponentType.instantiate(Object parent,
SharedSessionContractImplementor session) |
Object |
ComponentType.instantiate(Object parent,
SharedSessionContractImplementor session) |
PersistentCollection |
SortedSetType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
SortedMapType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
SetType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
MapType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
ListType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
IdentifierBagType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
CustomCollectionType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Serializable key) |
abstract PersistentCollection |
CollectionType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Serializable key)
Instantiate an uninitialized collection wrapper or holder.
|
PersistentCollection |
BagType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
ArrayType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Serializable key) |
boolean |
Type.isDirty(Object oldState,
Object currentState,
boolean[] checkable,
SharedSessionContractImplementor session)
Should the parent be considered dirty, given both the old and current value?
|
boolean |
OneToOneType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
MetaType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
ManyToOneType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
CustomType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
CompositeCustomType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
ComponentType.isDirty(Object x,
Object y,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
CollectionType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
AnyType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
AbstractStandardBasicType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
Type.isDirty(Object old,
Object current,
SharedSessionContractImplementor session)
Should the parent be considered dirty, given both the old and current value?
|
boolean |
OneToOneType.isDirty(Object old,
Object current,
SharedSessionContractImplementor session) |
boolean |
ManyToOneType.isDirty(Object old,
Object current,
SharedSessionContractImplementor session) |
boolean |
ComponentType.isDirty(Object x,
Object y,
SharedSessionContractImplementor session) |
boolean |
CollectionType.isDirty(Object old,
Object current,
SharedSessionContractImplementor session) |
boolean |
AbstractType.isDirty(Object old,
Object current,
SharedSessionContractImplementor session) |
boolean |
AbstractStandardBasicType.isDirty(Object old,
Object current,
SharedSessionContractImplementor session) |
boolean |
Type.isModified(Object dbState,
Object currentState,
boolean[] checkable,
SharedSessionContractImplementor session)
Has the value been modified compared to the current database state? The difference between this
and the
Type.isDirty(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor) methods is that here we need to account for "partially" built values. |
boolean |
OneToOneType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
ManyToOneType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
ComponentType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
CollectionType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
AnyType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
AbstractType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
AbstractStandardBasicType.isModified(Object oldHydratedState,
Object currentState,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
OneToOneType.isNull(Object owner,
SharedSessionContractImplementor session) |
protected boolean |
EntityType.isNull(Object owner,
SharedSessionContractImplementor session) |
Object |
EntityType.loadByUniqueKey(String entityName,
String uniqueKeyPropertyName,
Object key,
SharedSessionContractImplementor session)
Load an instance by a unique key that is not the primary key.
|
byte[] |
RowVersionType.next(byte[] current,
SharedSessionContractImplementor session) |
byte[] |
BinaryType.next(byte[] current,
SharedSessionContractImplementor session)
Deprecated.
use
RowVersionType for binary entity versions/timestamps |
Byte |
ByteType.next(Byte current,
SharedSessionContractImplementor session) |
Calendar |
CalendarType.next(Calendar current,
SharedSessionContractImplementor session) |
Date |
TimestampType.next(Date current,
SharedSessionContractImplementor session) |
Instant |
InstantType.next(Instant current,
SharedSessionContractImplementor session) |
Integer |
IntegerType.next(Integer current,
SharedSessionContractImplementor session) |
LocalDateTime |
LocalDateTimeType.next(LocalDateTime current,
SharedSessionContractImplementor session) |
Long |
LongType.next(Long current,
SharedSessionContractImplementor session) |
Object |
CustomType.next(Object current,
SharedSessionContractImplementor session) |
OffsetDateTime |
OffsetDateTimeType.next(OffsetDateTime current,
SharedSessionContractImplementor session) |
Short |
ShortType.next(Short current,
SharedSessionContractImplementor session) |
T |
VersionType.next(T current,
SharedSessionContractImplementor session)
Increment the version.
|
ZonedDateTime |
ZonedDateTimeType.next(ZonedDateTime current,
SharedSessionContractImplementor session) |
Object |
Type.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner)
Extract a value of the
mapped class from the JDBC result set. |
Object |
MetaType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
EnumType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
EntityType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
CustomType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
CompositeCustomType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
ComponentType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
CollectionType.nullSafeGet(ResultSet rs,
String[] name,
SharedSessionContractImplementor session,
Object owner) |
Object |
AnyType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
T |
SingleColumnType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session)
Get a column value from a result set by name.
|
T |
AbstractStandardBasicType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session) |
Object |
Type.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner)
Extract a value of the
mapped class from the JDBC result set. |
Object |
MetaType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner) |
Object |
EntityType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner) |
Object |
CustomType.nullSafeGet(ResultSet rs,
String columnName,
SharedSessionContractImplementor session,
Object owner) |
Object |
CompositeCustomType.nullSafeGet(ResultSet rs,
String columnName,
SharedSessionContractImplementor session,
Object owner) |
Object |
ComponentType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner) |
Object |
CollectionType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner) |
Object |
AnyType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner) |
void |
ProcedureParameterNamedBinder.nullSafeSet(CallableStatement statement,
Object value,
String name,
SharedSessionContractImplementor session)
Bind a value to the JDBC prepared statement, ignoring some columns as dictated by the 'settable' parameter.
|
void |
CustomType.nullSafeSet(CallableStatement statement,
Object value,
String name,
SharedSessionContractImplementor session) |
void |
AbstractStandardBasicType.nullSafeSet(CallableStatement st,
Object value,
String name,
SharedSessionContractImplementor session) |
void |
Type.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session)
Bind a value represented by an instance of the
mapped class to the JDBC prepared
statement, ignoring some columns as dictated by the 'settable' parameter. |
void |
OneToOneType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
MetaType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
EntityType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
CustomType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
CompositeCustomType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
ComponentType.nullSafeSet(PreparedStatement st,
Object value,
int begin,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
CollectionType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
AnyType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
AbstractSingleColumnStandardBasicType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
Type.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session)
Bind a value represented by an instance of the
mapped class to the JDBC prepared
statement. |
void |
MetaType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
void |
EnumType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
void |
EntityType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
void |
CustomType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
void |
CompositeCustomType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
void |
ComponentType.nullSafeSet(PreparedStatement st,
Object value,
int begin,
SharedSessionContractImplementor session) |
void |
CollectionType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
void |
AnyType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
void |
AbstractStandardBasicType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
static Object[] |
TypeHelper.replace(Object[] original,
Object[] target,
Type[] types,
SharedSessionContractImplementor session,
Object owner,
Map copyCache)
Deprecated.
Apply the
Type.replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map) operation across a series of values. |
static Object[] |
TypeHelper.replace(Object[] original,
Object[] target,
Type[] types,
SharedSessionContractImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection)
Deprecated.
Apply the
Type.replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map) operation across a series of values. |
Object |
Type.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache)
During merge, replace the existing (target) value in the entity we are merging to
with a new (original) value from the detached entity we are merging.
|
Object |
MetaType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
Object |
EntityType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
Object |
CustomType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
Object |
CompositeCustomType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
Object |
ComponentType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
Object |
CollectionType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
Object |
AnyType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
Object |
AbstractStandardBasicType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
Object |
Type.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection)
During merge, replace the existing (target) value in the entity we are merging to
with a new (original) value from the detached entity we are merging.
|
Object |
ComponentType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection) |
Object |
AbstractType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection) |
Object |
AbstractStandardBasicType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection) |
static Object[] |
TypeHelper.replaceAssociations(Object[] original,
Object[] target,
Type[] types,
SharedSessionContractImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection)
Deprecated.
Apply the
Type.replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map) operation across a series of values, as long as the corresponding
Type is an association. |
Object |
MapType.replaceElements(Object original,
Object target,
Object owner,
Map copyCache,
SharedSessionContractImplementor session) |
Object |
CustomCollectionType.replaceElements(Object original,
Object target,
Object owner,
Map copyCache,
SharedSessionContractImplementor session) |
Object |
CollectionType.replaceElements(Object original,
Object target,
Object owner,
Map copyCache,
SharedSessionContractImplementor session)
Replace the elements of a collection with the elements of another collection.
|
Object |
ArrayType.replaceElements(Object original,
Object target,
Object owner,
Map copyCache,
SharedSessionContractImplementor session) |
Object |
Type.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
EntityType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner)
Resolve an identifier or unique key value
|
Object |
ComponentType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
CollectionType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
AnyType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
default Object |
Type.resolve(Object value,
SharedSessionContractImplementor session,
Object owner,
Boolean overridingEager)
The second phase of 2-phase loading.
|
Object |
ManyToOneType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner,
Boolean overridingEager) |
Object |
EntityType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner,
Boolean overridingEager) |
Object |
CollectionType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner,
Boolean overridingEager) |
protected Object |
EntityType.resolveIdentifier(Serializable id,
SharedSessionContractImplementor session) |
protected Object |
EntityType.resolveIdentifier(Serializable id,
SharedSessionContractImplementor session,
Boolean overridingEager)
Resolve an identifier via a load.
|
ZonedDateTime |
ZonedDateTimeType.seed(SharedSessionContractImplementor session) |
T |
VersionType.seed(SharedSessionContractImplementor session)
Generate an initial version.
|
Date |
TimestampType.seed(SharedSessionContractImplementor session) |
Short |
ShortType.seed(SharedSessionContractImplementor session) |
byte[] |
RowVersionType.seed(SharedSessionContractImplementor session) |
OffsetDateTime |
OffsetDateTimeType.seed(SharedSessionContractImplementor session) |
Long |
LongType.seed(SharedSessionContractImplementor session) |
LocalDateTime |
LocalDateTimeType.seed(SharedSessionContractImplementor session) |
Integer |
IntegerType.seed(SharedSessionContractImplementor session) |
Instant |
InstantType.seed(SharedSessionContractImplementor session) |
Date |
DbTimestampType.seed(SharedSessionContractImplementor session) |
Object |
CustomType.seed(SharedSessionContractImplementor session) |
Calendar |
CalendarType.seed(SharedSessionContractImplementor session) |
Byte |
ByteType.seed(SharedSessionContractImplementor session) |
byte[] |
BinaryType.seed(SharedSessionContractImplementor session)
Deprecated.
use
RowVersionType for binary entity versions/timestamps |
Object |
Type.semiResolve(Object value,
SharedSessionContractImplementor session,
Object owner)
Given a hydrated, but unresolved value, return a value that may be used to reconstruct property-ref
associations.
|
Object |
ComponentType.semiResolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
CollectionType.semiResolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
AnyType.semiResolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractType.semiResolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.semiResolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
void |
SingleColumnType.set(PreparedStatement st,
T value,
int index,
SharedSessionContractImplementor session)
Set a parameter value without worrying about the possibility of null
values.
|
void |
AbstractStandardBasicType.set(PreparedStatement st,
T value,
int index,
SharedSessionContractImplementor session) |
PersistentCollection |
SortedSetType.wrap(SharedSessionContractImplementor session,
Object collection) |
PersistentCollection |
SortedMapType.wrap(SharedSessionContractImplementor session,
Object collection) |
PersistentCollection |
SetType.wrap(SharedSessionContractImplementor session,
Object collection) |
PersistentCollection |
MapType.wrap(SharedSessionContractImplementor session,
Object collection) |
PersistentCollection |
ListType.wrap(SharedSessionContractImplementor session,
Object collection) |
PersistentCollection |
IdentifierBagType.wrap(SharedSessionContractImplementor session,
Object collection) |
PersistentCollection |
CustomCollectionType.wrap(SharedSessionContractImplementor session,
Object collection) |
abstract PersistentCollection |
CollectionType.wrap(SharedSessionContractImplementor session,
Object collection)
Wrap the naked collection instance in a wrapper, or instantiate a
holder.
|
PersistentCollection |
BagType.wrap(SharedSessionContractImplementor session,
Object collection) |
PersistentCollection |
ArrayType.wrap(SharedSessionContractImplementor session,
Object array) |
Modifier and Type | Method and Description |
---|---|
Object |
CompositeUserType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner)
Reconstruct an object from the cacheable representation.
|
Serializable |
CompositeUserType.disassemble(Object value,
SharedSessionContractImplementor session)
Transform the object into its cacheable representation.
|
PersistentCollection |
UserCollectionType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister)
Instantiate an uninitialized instance of the collection wrapper
|
Object |
UserVersionType.next(Object current,
SharedSessionContractImplementor session)
Increment the version.
|
Object |
UserType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner)
Retrieve an instance of the mapped class from a JDBC resultset.
|
Object |
CompositeUserType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner)
Retrieve an instance of the mapped class from a JDBC resultset.
|
void |
UserType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session)
Write an instance of the mapped class to a prepared statement.
|
void |
CompositeUserType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session)
Write an instance of the mapped class to a prepared statement.
|
Object |
CompositeUserType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner)
During merge, replace the existing (target) value in the entity we are merging to
with a new (original) value from the detached entity we are merging.
|
Object |
UserCollectionType.replaceElements(Object original,
Object target,
CollectionPersister persister,
Object owner,
Map copyCache,
SharedSessionContractImplementor session)
Replace the elements of a collection with the elements of another collection
|
Object |
UserVersionType.seed(SharedSessionContractImplementor session)
Generate an initial version.
|
PersistentCollection |
UserCollectionType.wrap(SharedSessionContractImplementor session,
Object collection)
Wrap an instance of a collection
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.