Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
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.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.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.query.spi |
Defines support for query plans and stored metadata about queries
|
org.hibernate.engine.spi | |
org.hibernate.event.spi | |
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.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 |
Support for entity loaders built on top of the
org.hibernate.loader.plan
API to apply entity-graphs |
org.hibernate.loader.hql |
This package defines a loader for the AST-based query parser
|
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.metamodel.model.convert.spi | |
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.spi | |
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.spi | |
org.hibernate.result.spi | |
org.hibernate.testing.cache | |
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 |
---|---|
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 |
AbstractInterceptor.getLinkedSession() |
SharedSessionContractImplementor |
SessionAssociableInterceptor.getLinkedSession() |
Modifier and Type | Method and Description |
---|---|
Object |
EnhancementAsProxyLazinessInterceptor.forceInitialize(Object target,
String attributeName,
SharedSessionContractImplementor session,
boolean isTemporarySession) |
void |
AbstractInterceptor.setSession(SharedSessionContractImplementor session) |
void |
SessionAssociableInterceptor.setSession(SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
EnhancementHelper.performWork(BytecodeLazyAttributeInterceptor interceptor,
BiFunction<SharedSessionContractImplementor,Boolean,T> work,
String entityName,
String attributeName) |
Constructor and Description |
---|
AbstractLazyLoadInterceptor(String entityName,
SharedSessionContractImplementor session) |
EnhancementAsProxyLazinessInterceptor(String entityName,
Set<String> identifierAttributeNames,
CompositeType nonAggregatedCidMapper,
EntityKey entityKey,
SharedSessionContractImplementor session) |
LazyAttributeLoadingInterceptor(String entityName,
Object identifier,
Set<String> lazyFields,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
PersistentAttributeInterceptable |
BytecodeEnhancementMetadata.createEnhancedProxy(EntityKey keyToLoad,
boolean addEmptyEntry,
SharedSessionContractImplementor session)
Create an "enhancement as proxy" instance for the given entity
|
void |
BytecodeEnhancementMetadata.injectEnhancedEntityAsProxyInterceptor(Object entity,
EntityKey entityKey,
SharedSessionContractImplementor session) |
LazyAttributeLoadingInterceptor |
BytecodeEnhancementMetadata.injectInterceptor(Object entity,
Object identifier,
SharedSessionContractImplementor session)
Build and inject an interceptor instance into the enhanced entity.
|
void |
BytecodeEnhancementMetadata.injectInterceptor(Object entity,
PersistentAttributeInterceptor interceptor,
SharedSessionContractImplementor session) |
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.
|
List |
QueryCache.get(QueryKey key,
Type[] returnTypes,
boolean isNaturalKeyLookup,
Set<Serializable> spaces,
SharedSessionContractImplementor session)
Deprecated.
Get results from the cache.
|
default List |
QueryResultsCache.get(QueryKey key,
Type[] returnTypes,
boolean isNaturalKeyLookup,
Set<Serializable> spaces,
SharedSessionContractImplementor session) |
Object |
DirectAccessRegion.getFromCache(Object key,
SharedSessionContractImplementor session)
Get value by key
|
default void |
TimestampsCache.invalidate(Serializable[] spaces,
SharedSessionContractImplementor session) |
void |
UpdateTimestampsCache.invalidate(Serializable[] spaces,
SharedSessionContractImplementor session)
Deprecated.
Perform invalidation.
|
void |
TimestampsCache.invalidate(String[] spaces,
SharedSessionContractImplementor session)
Perform invalidation of the passed spaces (table names)
against the timestamps region data
|
default boolean |
TimestampsCache.isUpToDate(Set<Serializable> spaces,
Long timestamp,
SharedSessionContractImplementor session) |
boolean |
UpdateTimestampsCache.isUpToDate(Set<Serializable> spaces,
Long timestamp,
SharedSessionContractImplementor session)
Deprecated.
Perform an up-to-date check for the given set of query spaces.
|
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.
|
default void |
TimestampsCache.preInvalidate(Serializable[] spaces,
SharedSessionContractImplementor session) |
void |
UpdateTimestampsCache.preInvalidate(Serializable[] spaces,
SharedSessionContractImplementor session)
Deprecated.
Perform pre-invalidation.
|
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.
|
boolean |
QueryCache.put(QueryKey key,
Type[] returnTypes,
List result,
boolean isNaturalKeyLookup,
SharedSessionContractImplementor session)
Deprecated.
Put a result into the query cache.
|
default boolean |
QueryResultsCache.put(QueryKey key,
Type[] returnTypes,
List result,
boolean isNaturalKeyLookup,
SharedSessionContractImplementor session) |
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 |
AbstractNaturalIdDataAccess.afterInsert(SharedSessionContractImplementor session,
Object key,
Object value) |
boolean |
NaturalIdNonStrictReadWriteAccess.afterInsert(SharedSessionContractImplementor session,
Object key,
Object value) |
boolean |
NaturalIdReadWriteAccess.afterInsert(SharedSessionContractImplementor session,
Object key,
Object value) |
boolean |
EntityReadWriteAccess.afterInsert(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
boolean |
EntityReadOnlyAccess.afterInsert(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
boolean |
EntityTransactionalAccess.afterInsert(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
boolean |
EntityNonStrictReadWriteAccess.afterInsert(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
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 |
EntityTransactionalAccess.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 |
AbstractNaturalIdDataAccess.afterUpdate(SharedSessionContractImplementor session,
Object key,
Object value,
SoftLock lock) |
boolean |
NaturalIdReadWriteAccess.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 |
AbstractNaturalIdDataAccess.generateCacheKey(Object[] naturalIdValues,
EntityPersister persister,
SharedSessionContractImplementor session) |
Object |
NaturalIdReadWriteAccess.generateCacheKey(Object[] naturalIdValues,
EntityPersister rootEntityDescriptor,
SharedSessionContractImplementor session) |
Object |
AbstractReadWriteAccess.get(SharedSessionContractImplementor session,
Object key)
Returns
null if the item is not readable. |
Object |
CollectionReadWriteAccess.get(SharedSessionContractImplementor session,
Object key) |
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 |
AbstractNaturalIdDataAccess.insert(SharedSessionContractImplementor session,
Object key,
Object value) |
boolean |
NaturalIdNonStrictReadWriteAccess.insert(SharedSessionContractImplementor session,
Object key,
Object value) |
boolean |
NaturalIdReadWriteAccess.insert(SharedSessionContractImplementor session,
Object key,
Object value) |
boolean |
EntityReadWriteAccess.insert(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
boolean |
EntityReadOnlyAccess.insert(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
boolean |
EntityTransactionalAccess.insert(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
boolean |
EntityNonStrictReadWriteAccess.insert(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
SoftLock |
AbstractNaturalIdDataAccess.lockItem(SharedSessionContractImplementor session,
Object key,
Object version) |
SoftLock |
AbstractReadWriteAccess.lockItem(SharedSessionContractImplementor session,
Object key,
Object version) |
SoftLock |
AbstractEntityDataAccess.lockItem(SharedSessionContractImplementor session,
Object key,
Object version) |
SoftLock |
CollectionReadWriteAccess.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 |
AbstractReadWriteAccess.putFromLoad(SharedSessionContractImplementor session,
Object key,
Object value,
Object version) |
boolean |
CollectionReadWriteAccess.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 |
AbstractReadWriteAccess.remove(SharedSessionContractImplementor session,
Object key) |
void |
NaturalIdNonStrictReadWriteAccess.remove(SharedSessionContractImplementor session,
Object key) |
void |
AbstractCachedDomainDataAccess.remove(SharedSessionContractImplementor session,
Object key) |
void |
EntityNonStrictReadWriteAccess.remove(SharedSessionContractImplementor session,
Object key) |
void |
AbstractReadWriteAccess.removeAll(SharedSessionContractImplementor session) |
void |
AbstractCachedDomainDataAccess.removeAll(SharedSessionContractImplementor session) |
default void |
StorageAccess.removeFromCache(Object key,
SharedSessionContractImplementor session)
Remove an item from the cache by key
|
void |
AbstractNaturalIdDataAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
AbstractReadWriteAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
NaturalIdNonStrictReadWriteAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
AbstractEntityDataAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
CollectionReadWriteAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
EntityReadOnlyAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
AbstractCollectionDataAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
NaturalIdReadOnlyAccess.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 |
CollectionNonStrictReadWriteAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
boolean |
AbstractNaturalIdDataAccess.update(SharedSessionContractImplementor session,
Object key,
Object value) |
boolean |
NaturalIdNonStrictReadWriteAccess.update(SharedSessionContractImplementor session,
Object key,
Object value) |
boolean |
NaturalIdReadWriteAccess.update(SharedSessionContractImplementor session,
Object key,
Object value) |
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 |
EntityTransactionalAccess.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 |
---|---|
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 |
SelectLockingStrategy.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 |
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.
|
void |
PessimisticForceIncrementLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SharedSessionContractImplementor session) |
void |
UpdateLockingStrategy.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 |
OptimisticForceIncrementLockingStrategy.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 |
PessimisticReadUpdateLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SharedSessionContractImplementor session) |
void |
PessimisticWriteSelectLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
protected void |
NativeSQLQueryPlan.coordinateSharedCacheCleanup(SharedSessionContractImplementor session) |
int |
HQLQueryPlan.performExecuteUpdate(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Coordinates the efforts to perform an execution across all the included query translators.
|
int |
NativeSQLQueryPlan.performExecuteUpdate(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Performs the execute query
|
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 | Interface and Description |
---|---|
interface |
EventSource |
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 |
TableBasedDeleteHandlerImpl.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
int |
MultiTableBulkIdStrategy.UpdateHandler.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
int |
MultiTableBulkIdStrategy.DeleteHandler.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
int |
TableBasedUpdateHandlerImpl.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 |
TableBasedDeleteHandlerImpl.handlePrependedParametersOnIdSelection(PreparedStatement ps,
SharedSessionContractImplementor session,
int pos) |
protected int |
TableBasedUpdateHandlerImpl.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 |
CteValuesListDeleteHandlerImpl.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
int |
CteValuesListUpdateHandlerImpl.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
protected CteValuesListBuilder |
AbstractCteValuesListBulkIdHandler.prepareCteStatement(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
Modifier and Type | Method and Description |
---|---|
int |
AbstractInlineIdsDeleteHandlerImpl.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
int |
AbstractInlineIdsUpdateHandlerImpl.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.
|
Serializable |
IdentityGenerator.InsertSelectDelegate.executeAndExtract(PreparedStatement insert,
SharedSessionContractImplementor session) |
protected Serializable |
SequenceIdentityGenerator.Delegate.executeAndExtract(PreparedStatement insert,
SharedSessionContractImplementor session) |
Serializable |
IdentifierGenerator.generate(SharedSessionContractImplementor session,
Object object)
Generate a new identifier.
|
Serializable |
UUIDHexGenerator.generate(SharedSessionContractImplementor session,
Object obj) |
Serializable |
SequenceHiLoGenerator.generate(SharedSessionContractImplementor session,
Object obj)
Deprecated.
|
Serializable |
UUIDGenerator.generate(SharedSessionContractImplementor session,
Object object) |
Serializable |
ForeignGenerator.generate(SharedSessionContractImplementor sessionImplementor,
Object object) |
Serializable |
GUIDGenerator.generate(SharedSessionContractImplementor session,
Object obj) |
Serializable |
IncrementGenerator.generate(SharedSessionContractImplementor session,
Object object) |
Serializable |
CompositeNestedGeneratedValueGenerator.generate(SharedSessionContractImplementor session,
Object object) |
Serializable |
SequenceIdentityGenerator.generate(SharedSessionContractImplementor s,
Object obj)
Deprecated.
|
Serializable |
SequenceGenerator.generate(SharedSessionContractImplementor session,
Object obj)
Deprecated.
|
Serializable |
MultipleHiLoPerTableGenerator.generate(SharedSessionContractImplementor session,
Object obj)
Deprecated.
|
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 |
IdentityGenerator.BasicDelegate.getResult(SharedSessionContractImplementor session,
ResultSet rs,
Object object) |
protected Serializable |
SelectGenerator.SelectGeneratorDelegate.getResult(SharedSessionContractImplementor session,
ResultSet rs,
Object entity) |
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 |
IdentityGenerator.InsertSelectDelegate.prepare(String insertSQL,
SharedSessionContractImplementor session) |
protected PreparedStatement |
SequenceIdentityGenerator.Delegate.prepare(String insertSQL,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
AccessCallback |
SequenceStructure.buildCallback(SharedSessionContractImplementor session) |
AccessCallback |
TableStructure.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 |
SequenceStyleGenerator.generate(SharedSessionContractImplementor session,
Object object) |
Serializable |
TableGenerator.generate(SharedSessionContractImplementor session,
Object obj) |
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 |
AbstractReturningDelegate.performInsert(String insertSQL,
SharedSessionContractImplementor session,
Binder binder) |
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) |
protected abstract PreparedStatement |
AbstractReturningDelegate.prepare(String insertSQL,
SharedSessionContractImplementor session) |
protected void |
AbstractReturningDelegate.releaseStatement(PreparedStatement insert,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
UUID |
CustomVersionOneStrategy.generateUUID(SharedSessionContractImplementor session) |
UUID |
StandardRandomStrategy.generateUUID(SharedSessionContractImplementor session)
Delegates to
UUID.randomUUID() |
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 PreparedStatement |
Loader.bindPreparedStatement(PreparedStatement st,
QueryParameters queryParameters,
LimitHandler limitHandler,
SharedSessionContractImplementor session) |
protected void |
Loader.createSubselects(List keys,
QueryParameters queryParameters,
SharedSessionContractImplementor session) |
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 void |
Loader.endCollectionLoad(Object resultSetId,
SharedSessionContractImplementor session,
CollectionPersister collectionPersister) |
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 QueryKey |
Loader.generateQueryKey(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
protected static EntityKey |
Loader.getOptionalObjectKey(QueryParameters queryParameters,
SharedSessionContractImplementor session) |
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 List |
Loader.getResultFromQueryCache(SharedSessionContractImplementor session,
QueryParameters queryParameters,
Set<Serializable> querySpaces,
Type[] resultTypes,
QueryResultsCache queryCache,
QueryKey key) |
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<Object> |
Loader.getRowsFromResultSet(ResultSet rs,
QueryParameters queryParameters,
SharedSessionContractImplementor session,
boolean returnProxies,
ResultTransformer forcedResultTransformer,
int maxRows,
List<Object> hydratedObjects,
List<EntityKey[]> subselectResultKeys) |
protected void |
Loader.handleEmptyCollections(Serializable[] keys,
Object resultSetId,
SharedSessionContractImplementor session)
If this is a collection initializer, we need to tell the session that a collection
is being initialized, to account for the possibility of the collection having
no elements (hence no rows in the result set).
|
protected void |
Loader.instanceAlreadyLoaded(ResultSet rs,
int i,
Loadable persister,
EntityKey key,
Object object,
LockMode requestedLockMode,
List hydratedObjects,
SharedSessionContractImplementor session)
The entity instance is already in the session cache
|
protected Object |
Loader.instanceNotYetLoaded(ResultSet rs,
int i,
Loadable persister,
String rowIdAlias,
EntityKey key,
LockMode lockMode,
EntityKey optionalObjectKey,
Object optionalObject,
List hydratedObjects,
SharedSessionContractImplementor session)
The entity instance is not in the session cache
|
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,
Boolean readOnly)
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
|
List |
Loader.loadEntityBatch(SharedSessionContractImplementor session,
Serializable[] ids,
Type idType,
Object optionalObject,
String optionalEntityName,
Serializable optionalId,
EntityPersister persister,
LockOptions lockOptions,
Boolean readOnly)
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 ResultSet |
Loader.preprocessResultSet(ResultSet rs,
RowSelection selection,
LimitHandler limitHandler,
boolean autodiscovertypes,
SharedSessionContractImplementor session) |
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 void |
Loader.registerNonExists(EntityKey[] keys,
Loadable[] persisters,
SharedSessionContractImplementor session)
For missing objects associated by one-to-one with another object in the
result set, register the fact that the the object is missing with the
session.
|
protected ScrollableResultsImplementor |
Loader.scroll(QueryParameters queryParameters,
Type[] returnTypes,
org.hibernate.hql.internal.HolderInstantiator holderInstantiator,
SharedSessionContractImplementor session)
Return the query results, as an instance of ScrollableResults
|
Modifier and Type | Method and Description |
---|---|
void |
LegacyBatchingCollectionInitializerBuilder.LegacyBatchingCollectionInitializer.initialize(Serializable id,
SharedSessionContractImplementor session) |
void |
CollectionInitializer.initialize(Serializable id,
SharedSessionContractImplementor session)
Initialize the given collection
|
void |
SubselectCollectionLoader.initialize(Serializable id,
SharedSessionContractImplementor session) |
void |
SubselectOneToManyLoader.initialize(Serializable id,
SharedSessionContractImplementor session) |
void |
CollectionLoader.initialize(Serializable id,
SharedSessionContractImplementor session) |
void |
DynamicBatchingCollectionInitializerBuilder.DynamicBatchingCollectionInitializer.initialize(Serializable id,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractLoadPlanBasedCollectionInitializer.initialize(Serializable id,
SharedSessionContractImplementor session) |
void |
LegacyBatchingCollectionInitializerBuilder.LegacyBatchingCollectionInitializer.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 |
AbstractEntityLoader.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SharedSessionContractImplementor session) |
protected Object |
CollectionElementLoader.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SharedSessionContractImplementor session) |
Object |
AbstractEntityLoader.load(Object id,
SharedSessionContractImplementor session,
LockOptions lockOptions) |
default Object |
UniqueEntityLoader.load(Object id,
SharedSessionContractImplementor session,
LockOptions lockOptions) |
Object |
AbstractEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session) |
Object |
UniqueEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session)
Deprecated.
|
Object |
AbstractEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
Boolean readOnly) |
default Object |
UniqueEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
Boolean readOnly) |
Object |
AbstractEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions) |
Object |
UniqueEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions)
Load an entity instance by id.
|
Object |
AbstractEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions,
Boolean readOnly) |
default Object |
UniqueEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions,
Boolean readOnly) |
protected Object |
AbstractEntityLoader.load(SharedSessionContractImplementor session,
Object id,
Object optionalObject,
Serializable optionalId,
LockOptions lockOptions,
Boolean readOnly) |
Object |
EntityLoader.loadByUniqueKey(SharedSessionContractImplementor session,
Object key)
Deprecated.
will be removed. Use one of the load methods on
AbstractEntityLoader instead. |
Object |
EntityLoader.loadByUniqueKey(SharedSessionContractImplementor session,
Object key,
Boolean readOnly)
Deprecated.
will be removed. Use one of the load methods on
AbstractEntityLoader instead. |
Object |
CollectionElementLoader.loadElement(SharedSessionContractImplementor session,
Object key,
Object index) |
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 |
PaddedBatchingEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session) |
Object |
AbstractLoadPlanBasedEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session) |
Object |
AbstractLoadPlanBasedEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
Boolean readOnly) |
Object |
LegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions) |
Object |
DynamicBatchingEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions) |
Object |
PaddedBatchingEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions) |
Object |
AbstractLoadPlanBasedEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions) |
Object |
LegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions,
Boolean readOnly) |
Object |
DynamicBatchingEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions,
Boolean readOnly) |
Object |
PaddedBatchingEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions,
Boolean readOnly) |
Object |
AbstractLoadPlanBasedEntityLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions,
Boolean readOnly) |
List<?> |
AbstractLoadPlanBasedEntityLoader.loadEntityBatch(Serializable[] idsInBatch,
OuterJoinLoadable persister,
LockOptions lockOptions,
SharedSessionContractImplementor session) |
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
|
List |
AbstractLoadPlanBasedEntityLoader.loadEntityBatch(SharedSessionContractImplementor session,
Serializable[] ids,
Type idType,
Object optionalObject,
String optionalEntityName,
Serializable optionalId,
EntityPersister persister,
LockOptions lockOptions,
Boolean readOnly) |
static List<?> |
MultiEntityLoadingSupport.multiLoad(OuterJoinLoadable persister,
Serializable[] ids,
SharedSessionContractImplementor session,
MultiLoadOptions loadOptions) |
protected static List |
MultiEntityLoadingSupport.performUnorderedMultiLoad(OuterJoinLoadable persister,
Serializable[] ids,
SharedSessionContractImplementor session,
MultiLoadOptions loadOptions) |
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 |
---|---|
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 |
---|---|
O |
EnumValueConverter.readValue(ResultSet resultSet,
String name,
SharedSessionContractImplementor session) |
void |
EnumValueConverter.writeValue(PreparedStatement statement,
O value,
int position,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
int |
ParameterBinder.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int position)
Bind the appropriate value into the given statement at the specified position.
|
int |
CollectionFilterKeyParameterSpecification.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 |
VersionTypeSeedParameterSpecification.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int 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) |
Modifier and Type | Method and Description |
---|---|
protected CollectionInitializer |
OneToManyPersister.createSubselectInitializer(SubselectFetch subselect,
SharedSessionContractImplementor session) |
protected abstract CollectionInitializer |
AbstractCollectionPersister.createSubselectInitializer(SubselectFetch subselect,
SharedSessionContractImplementor session) |
protected CollectionInitializer |
BasicCollectionPersister.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 abstract void |
AbstractCollectionPersister.doProcessQueuedOps(PersistentCollection collection,
Serializable key,
SharedSessionContractImplementor session) |
protected void |
BasicCollectionPersister.doProcessQueuedOps(PersistentCollection collection,
Serializable id,
SharedSessionContractImplementor session) |
protected int |
OneToManyPersister.doUpdateRows(Serializable id,
PersistentCollection collection,
SharedSessionContractImplementor session) |
protected abstract int |
AbstractCollectionPersister.doUpdateRows(Serializable key,
PersistentCollection collection,
SharedSessionContractImplementor session) |
protected int |
BasicCollectionPersister.doUpdateRows(Serializable id,
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 |
CollectionPersister.getElementByIndex(Serializable key,
Object index,
SharedSessionContractImplementor session,
Object owner) |
Object |
OneToManyPersister.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 |
CollectionPersister.insertRows(PersistentCollection collection,
Serializable key,
SharedSessionContractImplementor session)
Insert the persistent state of any new collection elements
|
void |
OneToManyPersister.insertRows(PersistentCollection collection,
Serializable id,
SharedSessionContractImplementor session) |
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 |
CollectionPersister.recreate(PersistentCollection collection,
Serializable key,
SharedSessionContractImplementor session)
(Re)create the collection's persistent state
|
void |
OneToManyPersister.recreate(PersistentCollection collection,
Serializable id,
SharedSessionContractImplementor session) |
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 |
AbstractEntityPersister.afterInitialize(Object entity,
SharedSessionContractImplementor session) |
void |
EntityPersister.afterInitialize(Object entity,
SharedSessionContractImplementor session)
Called just after the entities properties have been initialized
|
void |
AbstractEntityPersister.afterReassociate(Object entity,
SharedSessionContractImplementor session) |
void |
EntityPersister.afterReassociate(Object entity,
SharedSessionContractImplementor session)
Called just after the entity has been reassociated with the session
|
CacheEntry |
AbstractEntityPersister.buildCacheEntry(Object entity,
Object[] state,
Object version,
SharedSessionContractImplementor session) |
CacheEntry |
AbstractEntityPersister.CacheEntryHelper.buildCacheEntry(Object entity,
Object[] state,
Object version,
SharedSessionContractImplementor session) |
CacheEntry |
EntityPersister.buildCacheEntry(Object entity,
Object[] state,
Object version,
SharedSessionContractImplementor session) |
Object |
AbstractEntityPersister.createProxy(Serializable id,
SharedSessionContractImplementor session) |
Object |
EntityPersister.createProxy(Serializable id,
SharedSessionContractImplementor session)
Create a new proxy instance
|
int |
AbstractEntityPersister.dehydrate(Serializable id,
Object[] fields,
boolean[] includeProperty,
boolean[][] includeColumns,
int j,
PreparedStatement st,
SharedSessionContractImplementor session,
boolean isUpdate) |
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
|
void |
AbstractEntityPersister.delete(Serializable id,
Object version,
int j,
Object object,
String sql,
SharedSessionContractImplementor session,
Object[] loadedState)
Perform an SQL DELETE
|
void |
AbstractEntityPersister.delete(Serializable id,
Object version,
Object object,
SharedSessionContractImplementor session)
Delete an object
|
void |
EntityPersister.delete(Serializable id,
Object version,
Object object,
SharedSessionContractImplementor session)
Delete a persistent instance
|
int[] |
AbstractEntityPersister.findDirty(Object[] currentState,
Object[] previousState,
Object entity,
SharedSessionContractImplementor session)
Locate the property-indices of all properties considered to be dirty.
|
int[] |
EntityPersister.findDirty(Object[] currentState,
Object[] previousState,
Object owner,
SharedSessionContractImplementor session)
Compare the two snapshots to determine if they represent dirty state.
|
int[] |
AbstractEntityPersister.findModified(Object[] old,
Object[] current,
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.
|
Object |
AbstractEntityPersister.forceVersionIncrement(Serializable id,
Object currentVersion,
SharedSessionContractImplementor session) |
Object |
EntityPersister.forceVersionIncrement(Serializable id,
Object currentVersion,
SharedSessionContractImplementor session) |
protected UniqueEntityLoader |
AbstractEntityPersister.getAppropriateLoader(LockOptions lockOptions,
SharedSessionContractImplementor session) |
protected UniqueEntityLoader |
AbstractEntityPersister.getAppropriateUniqueKeyLoader(String propertyName,
SharedSessionContractImplementor session) |
protected Serializable |
AbstractEntityPersister.getCollectionKey(CollectionPersister persister,
Object owner,
EntityEntry ownerEntry,
SharedSessionContractImplementor session) |
Object |
AbstractEntityPersister.getCurrentVersion(Serializable id,
SharedSessionContractImplementor session)
Retrieve the version number
|
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.getDatabaseSnapshot(Serializable id,
SharedSessionContractImplementor session) |
Object[] |
EntityPersister.getDatabaseSnapshot(Serializable id,
SharedSessionContractImplementor session)
Get the current database state of the object, in a "hydrated" form, without
resolving identifiers
|
Serializable |
AbstractEntityPersister.getIdByUniqueKey(Serializable key,
String uniquePropertyName,
SharedSessionContractImplementor session) |
Serializable |
EntityPersister.getIdByUniqueKey(Serializable key,
String uniquePropertyName,
SharedSessionContractImplementor session) |
Serializable |
AbstractEntityPersister.getIdentifier(Object entity,
SharedSessionContractImplementor session) |
Serializable |
EntityPersister.getIdentifier(Object entity,
SharedSessionContractImplementor session)
Get the identifier of an instance (throw an exception if no identifier property)
|
Object[] |
AbstractEntityPersister.getNaturalIdentifierSnapshot(Serializable id,
SharedSessionContractImplementor session) |
Object[] |
EntityPersister.getNaturalIdentifierSnapshot(Serializable id,
SharedSessionContractImplementor session)
Retrieve the current state of the natural-id properties from the database.
|
Object[] |
AbstractEntityPersister.getPropertyValuesToInsert(Object object,
Map mergeMap,
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.hydrate(ResultSet rs,
Serializable id,
Object object,
Loadable rootLoadable,
String[][] suffixedPropertyColumns,
boolean allProperties,
SharedSessionContractImplementor session)
Unmarshal the fields of a persistent instance from a result set,
without resolving associations or collections.
|
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.initializeEnhancedEntityUsedAsProxy(Object entity,
String nameOfAttributeBeingAccessed,
SharedSessionContractImplementor session) |
default Object |
EntityPersister.initializeEnhancedEntityUsedAsProxy(Object entity,
String nameOfAttributeBeingAccessed,
SharedSessionContractImplementor session)
Called from
EnhancementAsProxyLazinessInterceptor to trigger load of
the entity's non-lazy state as well as the named attribute we are accessing
if it is still uninitialized after fetching non-lazy state |
protected Object |
AbstractEntityPersister.initializeLazyPropertiesFromCache(String fieldName,
Object entity,
SharedSessionContractImplementor session,
EntityEntry entry,
CacheEntry cacheEntry) |
protected Object |
AbstractEntityPersister.initializeLazyPropertiesFromDatastore(String fieldName,
Object entity,
SharedSessionContractImplementor session,
Serializable id,
EntityEntry entry) |
Object |
AbstractEntityPersister.initializeLazyProperty(String fieldName,
Object entity,
SharedSessionContractImplementor session) |
protected boolean |
AbstractEntityPersister.initializeLazyProperty(String fieldName,
Object entity,
SharedSessionContractImplementor session,
EntityEntry entry,
int j,
Object propValue) |
Serializable |
AbstractEntityPersister.insert(Object[] fields,
boolean[] notNull,
String sql,
Object object,
SharedSessionContractImplementor session)
Perform an SQL INSERT, and then retrieve a generated identifier.
|
Serializable |
AbstractEntityPersister.insert(Object[] fields,
Object object,
SharedSessionContractImplementor session) |
Serializable |
EntityPersister.insert(Object[] fields,
Object object,
SharedSessionContractImplementor session)
Persist an instance, using a natively generated identifier (optional operation)
|
void |
AbstractEntityPersister.insert(Serializable id,
Object[] fields,
boolean[] notNull,
int j,
String sql,
Object object,
SharedSessionContractImplementor session)
Perform an SQL INSERT.
|
void |
AbstractEntityPersister.insert(Serializable id,
Object[] fields,
Object object,
SharedSessionContractImplementor session) |
void |
EntityPersister.insert(Serializable id,
Object[] fields,
Object object,
SharedSessionContractImplementor session)
Persist an instance
|
Object |
AbstractEntityPersister.instantiate(Serializable id,
SharedSessionContractImplementor session) |
Object |
EntityPersister.instantiate(Serializable id,
SharedSessionContractImplementor session)
Create a class instance initialized with the given identifier
|
boolean |
DiscriminatorType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
Boolean |
AbstractEntityPersister.isTransient(Object entity,
SharedSessionContractImplementor session) |
Boolean |
EntityPersister.isTransient(Object object,
SharedSessionContractImplementor session)
Is this a new transient instance?
|
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,
LockMode lockMode,
SharedSessionContractImplementor session)
Load an instance of the persistent class.
|
default Object |
EntityPersister.load(Serializable id,
Object optionalObject,
LockMode lockMode,
SharedSessionContractImplementor session,
Boolean readOnly) |
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 |
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,
Boolean readOnly) |
default Object |
EntityPersister.load(Serializable id,
Object optionalObject,
LockOptions lockOptions,
SharedSessionContractImplementor session,
Boolean readOnly) |
Object |
NamedQueryLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session) |
Object |
NamedQueryLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
Boolean readOnly) |
Object |
NamedQueryLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions) |
Object |
NamedQueryLoader.load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions,
Boolean readOnly) |
Object |
AbstractEntityPersister.loadByUniqueKey(String propertyName,
Object uniqueKey,
SharedSessionContractImplementor session) |
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.
|
Serializable |
AbstractEntityPersister.loadEntityIdByNaturalId(Object[] naturalIdValues,
LockOptions lockOptions,
SharedSessionContractImplementor session) |
Serializable |
EntityPersister.loadEntityIdByNaturalId(Object[] naturalIdValues,
LockOptions lockOptions,
SharedSessionContractImplementor session)
Load the id for the entity based on the natural id.
|
void |
AbstractEntityPersister.lock(Serializable id,
Object version,
Object object,
LockMode lockMode,
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,
LockOptions lockOptions,
SharedSessionContractImplementor session) |
void |
EntityPersister.lock(Serializable id,
Object version,
Object object,
LockOptions lockOptions,
SharedSessionContractImplementor session)
Do a version check (optional operation)
|
List |
AbstractEntityPersister.multiLoad(Serializable[] ids,
SharedSessionContractImplementor session,
MultiLoadOptions loadOptions) |
List |
EntityPersister.multiLoad(Serializable[] ids,
SharedSessionContractImplementor session,
MultiLoadOptions loadOptions)
Performs a load of multiple entities (of this type) by identifier simultaneously.
|
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) |
protected void |
AbstractEntityPersister.preInsertInMemoryValueGeneration(Object[] fields,
Object object,
SharedSessionContractImplementor session) |
void |
AbstractEntityPersister.processInsertGeneratedProperties(Serializable id,
Object entity,
Object[] state,
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.processUpdateGeneratedProperties(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 . |
Object |
DiscriminatorType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
void |
AbstractEntityPersister.resetIdentifier(Object entity,
Serializable currentId,
Object currentVersion,
SharedSessionContractImplementor session) |
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.setIdentifier(Object entity,
Serializable id,
SharedSessionContractImplementor session) |
void |
EntityPersister.setIdentifier(Object entity,
Serializable id,
SharedSessionContractImplementor session)
Inject the identifier value into the given entity.
|
void |
AbstractEntityPersister.update(Serializable id,
Object[] fields,
int[] dirtyFields,
boolean hasDirtyCollection,
Object[] oldFields,
Object oldVersion,
Object object,
Object rowId,
SharedSessionContractImplementor session)
Update an object
|
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
|
boolean |
AbstractEntityPersister.update(Serializable id,
Object[] fields,
Object[] oldFields,
Object rowId,
boolean[] includeProperty,
int j,
Object oldVersion,
Object object,
String sql,
SharedSessionContractImplementor session) |
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 |
---|---|
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,
org.hibernate.query.procedure.internal.ProcedureParameterMetadata parameterMetadata,
org.hibernate.query.procedure.internal.ProcedureParamBindings paramBindings,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
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.
|
Object |
GetterMethodImpl.getForInsert(Object owner,
Map mergeMap,
SharedSessionContractImplementor session) |
Object |
GetterFieldImpl.getForInsert(Object owner,
Map mergeMap,
SharedSessionContractImplementor session) |
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 |
---|---|
String |
QueryParameterBindings.expandListValuedParameters(String queryString,
SharedSessionContractImplementor producer) |
Modifier and Type | Method and Description |
---|---|
SharedSessionContractImplementor |
ResultContext.getSession() |
Modifier and Type | Method and Description |
---|---|
void |
MapStorageAccessImpl.clearCache(SharedSessionContractImplementor session) |
Object |
MapStorageAccessImpl.getFromCache(Object key,
SharedSessionContractImplementor session) |
void |
MapStorageAccessImpl.putIntoCache(Object key,
Object value,
SharedSessionContractImplementor session) |
void |
MapStorageAccessImpl.removeFromCache(Object key,
SharedSessionContractImplementor session) |
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) |
PersistentAttributeInterceptable |
BytecodeEnhancementMetadataNonPojoImpl.createEnhancedProxy(EntityKey keyToLoad,
boolean addEmptyEntry,
SharedSessionContractImplementor session) |
PersistentAttributeInterceptable |
BytecodeEnhancementMetadataPojoImpl.createEnhancedProxy(EntityKey entityKey,
boolean addEmptyEntry,
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) |
void |
BytecodeEnhancementMetadataNonPojoImpl.injectEnhancedEntityAsProxyInterceptor(Object entity,
EntityKey entityKey,
SharedSessionContractImplementor session) |
void |
BytecodeEnhancementMetadataPojoImpl.injectEnhancedEntityAsProxyInterceptor(Object entity,
EntityKey entityKey,
SharedSessionContractImplementor session) |
LazyAttributeLoadingInterceptor |
BytecodeEnhancementMetadataNonPojoImpl.injectInterceptor(Object entity,
Object identifier,
SharedSessionContractImplementor session) |
LazyAttributeLoadingInterceptor |
BytecodeEnhancementMetadataPojoImpl.injectInterceptor(Object entity,
Object identifier,
SharedSessionContractImplementor session) |
void |
BytecodeEnhancementMetadataNonPojoImpl.injectInterceptor(Object entity,
PersistentAttributeInterceptor interceptor,
SharedSessionContractImplementor session) |
void |
BytecodeEnhancementMetadataPojoImpl.injectInterceptor(Object entity,
PersistentAttributeInterceptor interceptor,
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) |
protected void |
AbstractEntityTuplizer.linkToSession(Object entity,
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 |
AbstractStandardBasicType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner) |
Object |
AnyType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner) |
Object |
CollectionType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner) |
Object |
SpecialOneToOneType.assemble(Serializable oid,
SharedSessionContractImplementor session,
Object owner) |
Object |
ManyToOneType.assemble(Serializable oid,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner) |
Object |
OneToOneType.assemble(Serializable oid,
SharedSessionContractImplementor session,
Object owner) |
Object |
Type.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner)
Reconstruct the object from its disassembled state.
|
Object |
ComponentType.assemble(Serializable object,
SharedSessionContractImplementor session,
Object owner) |
Object |
CustomType.assemble(Serializable cached,
SharedSessionContractImplementor session,
Object owner) |
Object |
CompositeCustomType.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 |
AbstractStandardBasicType.beforeAssemble(Serializable cached,
SharedSessionContractImplementor session) |
void |
ManyToOneType.beforeAssemble(Serializable oid,
SharedSessionContractImplementor session) |
void |
AbstractType.beforeAssemble(Serializable cached,
SharedSessionContractImplementor session) |
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.
|
boolean |
CollectionType.contains(Object collection,
Object childObject,
SharedSessionContractImplementor session) |
boolean |
CustomCollectionType.contains(Object collection,
Object entity,
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 |
AbstractStandardBasicType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
AnyType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
CollectionType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
SpecialOneToOneType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
ManyToOneType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
AbstractType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
OneToOneType.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner) |
Serializable |
Type.disassemble(Object value,
SharedSessionContractImplementor session,
Object owner)
Return a disassembled representation of the object.
|
Serializable |
ComponentType.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) |
T |
AbstractStandardBasicType.extract(CallableStatement statement,
int startIndex,
SharedSessionContractImplementor session) |
Object |
ComponentType.extract(CallableStatement statement,
int startIndex,
SharedSessionContractImplementor session) |
T |
ProcedureParameterExtractionAware.extract(CallableStatement statement,
int startIndex,
SharedSessionContractImplementor session)
Perform the extraction
|
Object |
CustomType.extract(CallableStatement statement,
int startIndex,
SharedSessionContractImplementor session) |
T |
AbstractStandardBasicType.extract(CallableStatement statement,
String[] paramNames,
SharedSessionContractImplementor session) |
Object |
ComponentType.extract(CallableStatement statement,
String[] paramNames,
SharedSessionContractImplementor session) |
T |
ProcedureParameterExtractionAware.extract(CallableStatement statement,
String[] paramNames,
SharedSessionContractImplementor session)
Perform the extraction
|
Object |
CustomType.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 |
AbstractStandardBasicType.get(ResultSet rs,
String name,
SharedSessionContractImplementor session) |
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 |
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 |
AnyType.getPropertyValue(Object component,
int i,
SharedSessionContractImplementor session) |
Object |
ComponentType.getPropertyValue(Object component,
int i,
SharedSessionContractImplementor session) |
Object |
CompositeCustomType.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[] |
AnyType.getPropertyValues(Object component,
SharedSessionContractImplementor session) |
Object[] |
ComponentType.getPropertyValues(Object component,
SharedSessionContractImplementor session) |
Object[] |
CompositeCustomType.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 |
AbstractStandardBasicType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
AnyType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
CollectionType.hydrate(ResultSet rs,
String[] name,
SharedSessionContractImplementor session,
Object owner) |
Object |
SpecialOneToOneType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
ManyToOneType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
OneToOneType.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
Type.hydrate(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner)
Extract a value from the JDBC result set.
|
Object |
ComponentType.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 |
IdentifierBagType.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) |
abstract PersistentCollection |
CollectionType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Serializable key)
Instantiate an uninitialized collection wrapper or holder.
|
PersistentCollection |
CustomCollectionType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
ArrayType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
SortedMapType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
BagType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
SetType.instantiate(SharedSessionContractImplementor session,
CollectionPersister persister,
Serializable key) |
boolean |
AbstractStandardBasicType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
AnyType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
CollectionType.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 |
OneToOneType.isDirty(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
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 |
ComponentType.isDirty(Object x,
Object y,
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 |
AbstractStandardBasicType.isDirty(Object old,
Object current,
SharedSessionContractImplementor session) |
boolean |
CollectionType.isDirty(Object old,
Object current,
SharedSessionContractImplementor session) |
boolean |
ManyToOneType.isDirty(Object old,
Object current,
SharedSessionContractImplementor session) |
boolean |
AbstractType.isDirty(Object old,
Object current,
SharedSessionContractImplementor session) |
boolean |
OneToOneType.isDirty(Object old,
Object current,
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 |
ComponentType.isDirty(Object x,
Object y,
SharedSessionContractImplementor session) |
boolean |
AbstractStandardBasicType.isModified(Object oldHydratedState,
Object currentState,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
AnyType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
CollectionType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
ManyToOneType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
AbstractType.isModified(Object old,
Object current,
boolean[] checkable,
SharedSessionContractImplementor session) |
boolean |
OneToOneType.isModified(Object old,
Object current,
boolean[] checkable,
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 |
ComponentType.isModified(Object old,
Object current,
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[] |
BinaryType.next(byte[] current,
SharedSessionContractImplementor session)
Deprecated.
use
RowVersionType for binary entity versions/timestamps |
byte[] |
RowVersionType.next(byte[] current,
SharedSessionContractImplementor session) |
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 |
EnumType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
AnyType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
CollectionType.nullSafeGet(ResultSet rs,
String[] name,
SharedSessionContractImplementor session,
Object owner) |
Object |
MetaType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
Object |
Type.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner)
Extract a value of the
mapped class from the JDBC result set. |
Object |
ComponentType.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 |
EntityType.nullSafeGet(ResultSet rs,
String[] names,
SharedSessionContractImplementor session,
Object owner) |
T |
AbstractStandardBasicType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session) |
T |
SingleColumnType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session)
Get a column value from a result set by name.
|
Object |
AbstractStandardBasicType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner) |
Object |
AnyType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner) |
Object |
CollectionType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner) |
Object |
MetaType.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner) |
Object |
Type.nullSafeGet(ResultSet rs,
String name,
SharedSessionContractImplementor session,
Object owner)
Extract a value of the
mapped class from the JDBC result set. |
Object |
ComponentType.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 |
EntityType.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 |
AbstractStandardBasicType.nullSafeSet(CallableStatement st,
Object value,
String name,
SharedSessionContractImplementor session) |
void |
CustomType.nullSafeSet(CallableStatement statement,
Object value,
String name,
SharedSessionContractImplementor session) |
void |
AnyType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
CollectionType.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 |
OneToOneType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
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 |
ComponentType.nullSafeSet(PreparedStatement st,
Object value,
int begin,
boolean[] settable,
SharedSessionContractImplementor session) |
void |
CustomType.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 |
CompositeCustomType.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 |
EnumType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
void |
AbstractStandardBasicType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
void |
AnyType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
void |
CollectionType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SharedSessionContractImplementor session) |
void |
MetaType.nullSafeSet(PreparedStatement st,
Object value,
int index,
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 |
ComponentType.nullSafeSet(PreparedStatement st,
Object value,
int begin,
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 |
EntityType.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 |
AbstractStandardBasicType.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 |
CollectionType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
Object |
MetaType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
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 |
ComponentType.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 |
EntityType.replace(Object original,
Object target,
SharedSessionContractImplementor session,
Object owner,
Map copyCache) |
Object |
AbstractStandardBasicType.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 |
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) |
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 |
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 |
CustomCollectionType.replaceElements(Object original,
Object target,
Object owner,
Map copyCache,
SharedSessionContractImplementor session) |
Object |
ArrayType.replaceElements(Object original,
Object target,
Object owner,
Map copyCache,
SharedSessionContractImplementor session) |
Object |
AbstractStandardBasicType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
AnyType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
CollectionType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
Type.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
ComponentType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
EntityType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner)
Resolve an identifier or unique key value
|
Object |
CollectionType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner,
Boolean overridingEager) |
Object |
ManyToOneType.resolve(Object value,
SharedSessionContractImplementor session,
Object owner,
Boolean overridingEager) |
default Object |
Type.resolve(Object value,
SharedSessionContractImplementor session,
Object owner,
Boolean overridingEager)
The second phase of 2-phase loading.
|
Object |
EntityType.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.
|
Long |
LongType.seed(SharedSessionContractImplementor session) |
Date |
TimestampType.seed(SharedSessionContractImplementor session) |
T |
VersionType.seed(SharedSessionContractImplementor session)
Generate an initial version.
|
ZonedDateTime |
ZonedDateTimeType.seed(SharedSessionContractImplementor session) |
Byte |
ByteType.seed(SharedSessionContractImplementor session) |
LocalDateTime |
LocalDateTimeType.seed(SharedSessionContractImplementor session) |
OffsetDateTime |
OffsetDateTimeType.seed(SharedSessionContractImplementor session) |
Calendar |
CalendarType.seed(SharedSessionContractImplementor session) |
byte[] |
BinaryType.seed(SharedSessionContractImplementor session)
Deprecated.
use
RowVersionType for binary entity versions/timestamps |
Short |
ShortType.seed(SharedSessionContractImplementor session) |
Integer |
IntegerType.seed(SharedSessionContractImplementor session) |
Instant |
InstantType.seed(SharedSessionContractImplementor session) |
Object |
CustomType.seed(SharedSessionContractImplementor session) |
byte[] |
RowVersionType.seed(SharedSessionContractImplementor session) |
Date |
DbTimestampType.seed(SharedSessionContractImplementor session) |
Object |
AbstractStandardBasicType.semiResolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
AnyType.semiResolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
CollectionType.semiResolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
Object |
AbstractType.semiResolve(Object value,
SharedSessionContractImplementor session,
Object owner) |
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) |
void |
AbstractStandardBasicType.set(PreparedStatement st,
T value,
int index,
SharedSessionContractImplementor session) |
void |
SingleColumnType.set(PreparedStatement st,
T value,
int index,
SharedSessionContractImplementor session)
Set a parameter value without worrying about the possibility of null
values.
|
PersistentCollection |
SortedSetType.wrap(SharedSessionContractImplementor session,
Object collection) |
PersistentCollection |
IdentifierBagType.wrap(SharedSessionContractImplementor session,
Object collection) |
PersistentCollection |
MapType.wrap(SharedSessionContractImplementor session,
Object collection) |
PersistentCollection |
ListType.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 |
CustomCollectionType.wrap(SharedSessionContractImplementor session,
Object collection) |
PersistentCollection |
ArrayType.wrap(SharedSessionContractImplementor session,
Object array) |
PersistentCollection |
SortedMapType.wrap(SharedSessionContractImplementor session,
Object collection) |
PersistentCollection |
BagType.wrap(SharedSessionContractImplementor session,
Object collection) |
PersistentCollection |
SetType.wrap(SharedSessionContractImplementor session,
Object collection) |
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 © 2001-2022 Red Hat, Inc. All Rights Reserved.