Uses of Interface
org.hibernate.engine.spi.SharedSessionContractImplementor
-
Packages that use SharedSessionContractImplementor Package Description org.hibernate.action.internal The various concrete action implementations.org.hibernate.action.spi This SPI package defines an abstraction over the notion of an "action" which is scheduled for asynchronous execution by the event listeners.org.hibernate.bytecode.enhance.spi Package defining bytecode code enhancement (instrumentation) support.org.hibernate.bytecode.enhance.spi.interceptor Support for bytecode interceptor implementations.org.hibernate.bytecode.internal org.hibernate.bytecode.spi Package defining bytecode code enhancement (instrumentation) support.org.hibernate.cache.internal Internal implementations and support for second-level caching.org.hibernate.cache.jcache.internal org.hibernate.cache.spi Defines the integration aspect of Hibernate's second-level caching, allowing a "caching backend" to be plugged in as a cache 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 This package provides a framework intended to reduce the work needed to implement a caching provider.org.hibernate.collection.internal Internal implementations and support for persistent collections.org.hibernate.collection.spi This package defines the SPI of a framework for lazy-initializing and state-tracking collection wrappers.org.hibernate.dialect This package abstracts over the multifarious dialects of SQL understood by the databases supported by Hibernate.org.hibernate.dialect.temptable Support for temporary tables.org.hibernate.engine.internal Support for many of the internal workings of Hibernate.org.hibernate.engine.jdbc.mutation Package defining support for executing mutation SQL statements produced by the persister for an entity or collection.org.hibernate.engine.jdbc.mutation.group org.hibernate.engine.jdbc.mutation.internal org.hibernate.engine.jdbc.mutation.spi org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.envers.internal.entities org.hibernate.envers.internal.entities.mapper.relation.lazy org.hibernate.envers.internal.entities.mapper.relation.query org.hibernate.event.spi Defines the event types and event listener interfaces for events produced by the statefulSession
.org.hibernate.generator This package defines an abstraction over all kinds of automatic value generation, including id generation and version number generation.org.hibernate.generator.internal org.hibernate.id This package and its subpackages, especiallyorg.hibernate.id.enhanced
, contain the built-in id generators, all of which implement eitherIdentifierGenerator
orPostInsertIdentifierGenerator
.org.hibernate.id.enhanced Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified configuration.org.hibernate.id.insert Contains a framework of strategies for retrieving database-generated ids.org.hibernate.id.uuid Contains theUuidGenerator
.org.hibernate.internal An internal package containing implementations of central Hibernate APIs, mostly defined inorg.hibernate
.org.hibernate.loader.ast.internal org.hibernate.loader.ast.spi org.hibernate.mapping This package defines the Hibernate configuration-time mapping model.org.hibernate.metadata This package defines an API for accessing details about model mapping.org.hibernate.metamodel.internal org.hibernate.metamodel.mapping Defines the runtime mapping metamodel, which describes the mapping of the application's domain model parts (entities, attributes) to relational database objects (tables, columns).org.hibernate.metamodel.mapping.internal org.hibernate.metamodel.model.domain.internal Implementation of the SPI for the runtime domain metamodel.org.hibernate.persister.collection This package abstracts persistence mechanisms for collections.org.hibernate.persister.collection.mutation Defines support for performing mutation operations against collections.org.hibernate.persister.entity This package abstracts persistence mechanisms for entities.org.hibernate.persister.entity.mutation Defines support for performing mutation operations originating from persistence-context events.org.hibernate.pretty Contains some functions for pretty-printing things for exception and log messages.org.hibernate.procedure.internal Defines the internal implementation of the stored procedure SPI.org.hibernate.procedure.spi Defines an SPI for calling stored procedures and functions.org.hibernate.property.access.internal Contains various implementations ofPropertyAccessStrategy
.org.hibernate.property.access.spi An SPI abstracting how persistent attributes of an entity or embeddable type are accessed by Hibernate.org.hibernate.proxy This package defines a framework for lazy-initializing entity proxies.org.hibernate.proxy.map Proxies for entity objects represented as Java maps.org.hibernate.proxy.pojo Proxies for plain Java objects.org.hibernate.proxy.pojo.bytebuddy org.hibernate.query Everything related to HQL/JPQL, native SQL, and criteria queries.org.hibernate.query.criteria.internal org.hibernate.query.derived org.hibernate.query.hql.internal Implementation of the SPIs for HQL support.org.hibernate.query.internal org.hibernate.query.named Support for named queriesorg.hibernate.query.spi Contains a range of internal abstractions for dealing with query execution, query plans, query options, and query parameters.org.hibernate.query.sql.internal Implementation of the SPIs for native SQL query support.org.hibernate.query.sql.spi SPIs for native SQL query support.org.hibernate.query.sqm.internal Package for the SQM-backed Query implementation detailsorg.hibernate.query.sqm.mutation.internal org.hibernate.query.sqm.mutation.internal.temptable Support for multi-table SQM mutation (insert, update, delete) operations using a table to temporarily hold the matching ids.org.hibernate.query.sqm.spi SPI-level SQM contractsorg.hibernate.result.internal org.hibernate.result.spi org.hibernate.sql.ast.tree.expression AST nodes representing expressions in a SQL tree.org.hibernate.sql.exec.internal Implementation of the SPI for execution of SQL statements via JDBC.org.hibernate.sql.exec.spi SPI for execution of SQL statements via JDBC.org.hibernate.sql.model Package contains specialized SQL AST nodes and builders for table mutations of model parts originating from normal persistence-context events.org.hibernate.sql.model.jdbc Extensions toJdbcOperation
for model mutations.org.hibernate.sql.results.caching Support for caching of query results.org.hibernate.sql.results.caching.internal org.hibernate.sql.results.graph.entity org.hibernate.sql.results.graph.entity.internal org.hibernate.sql.results.jdbc.internal org.hibernate.sql.results.jdbc.spi org.hibernate.sql.results.spi org.hibernate.testing.cache org.hibernate.tuple Most contracts here have been replaced by the new runtime mapping model.org.hibernate.type A HibernateType
is a strategy for mapping a Java property type to a JDBC type or types.org.hibernate.type.descriptor Contracts for reading and writing values to and from JDBC.org.hibernate.type.descriptor.java Integrates a range of types defined by the JDK with the type system of Hibernate.org.hibernate.type.internal org.hibernate.usertype An API for user-defined custom types which extend the set of built-in types defined inorg.hibernate.type
. -
-
Uses of SharedSessionContractImplementor in org.hibernate.action.internal
Methods in org.hibernate.action.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description protected void
EntityUpdateAction. cacheAfterUpdate(EntityDataAccess cache, Object ck, SharedSessionContractImplementor session)
void
EntityDeleteAction. doAfterTransactionCompletion(boolean success, SharedSessionContractImplementor session)
void
EntityIdentityInsertAction. doAfterTransactionCompletion(boolean success, SharedSessionContractImplementor session)
void
EntityInsertAction. doAfterTransactionCompletion(boolean success, SharedSessionContractImplementor session)
void
EntityUpdateAction. doAfterTransactionCompletion(boolean success, SharedSessionContractImplementor session)
protected void
EntityUpdateAction. handleNaturalIdResolutions(EntityPersister persister, SharedSessionContractImplementor session, Object id)
protected boolean
EntityInsertAction. isCachePutEnabled(EntityPersister persister, SharedSessionContractImplementor session)
protected void
EntityDeleteAction. postDeleteLoaded(Object id, EntityPersister persister, SharedSessionContractImplementor session, Object instance, Object ck)
protected void
EntityDeleteAction. postDeleteUnloaded(Object id, EntityPersister persister, SharedSessionContractImplementor session, Object ck)
static void
BulkOperationCleanupAction. schedule(SharedSessionContractImplementor session, Set<String> affectedQueryables)
static void
BulkOperationCleanupAction. schedule(SharedSessionContractImplementor session, EntityPersister... affectedQueryables)
static void
BulkOperationCleanupAction. schedule(SharedSessionContractImplementor session, SqmDmlStatement<?> statement)
Constructors in org.hibernate.action.internal with parameters of type SharedSessionContractImplementor Constructor Description BulkOperationCleanupAction(SharedSessionContractImplementor session, Set<String> tableSpaces)
Constructs an action to cleanup "affected cache regions" based on a set of affected table spaces.BulkOperationCleanupAction(SharedSessionContractImplementor session, EntityPersister... affectedQueryables)
Constructs an action to cleanup "affected cache regions" based on the affected entity persisters. -
Uses of SharedSessionContractImplementor in org.hibernate.action.spi
Methods in org.hibernate.action.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
AfterTransactionCompletionProcess. doAfterTransactionCompletion(boolean success, SharedSessionContractImplementor session)
Perform whatever processing is encapsulated here after completion of the transaction. -
Uses of SharedSessionContractImplementor in org.hibernate.bytecode.enhance.spi
Methods in org.hibernate.bytecode.enhance.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
LazyPropertyInitializer. initializeLazyProperty(String fieldName, Object entity, SharedSessionContractImplementor session)
Initialize the property, and return its new value. -
Uses of SharedSessionContractImplementor in org.hibernate.bytecode.enhance.spi.interceptor
Methods in org.hibernate.bytecode.enhance.spi.interceptor that return SharedSessionContractImplementor Modifier and Type Method Description SharedSessionContractImplementor
AbstractInterceptor. getLinkedSession()
SharedSessionContractImplementor
SessionAssociableInterceptor. getLinkedSession()
Methods in org.hibernate.bytecode.enhance.spi.interceptor with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
EnhancementAsProxyLazinessInterceptor. forceInitialize(Object target, String attributeName, SharedSessionContractImplementor session, boolean isTemporarySession)
void
AbstractInterceptor. setSession(SharedSessionContractImplementor session)
void
SessionAssociableInterceptor. setSession(SharedSessionContractImplementor session)
Method parameters in org.hibernate.bytecode.enhance.spi.interceptor with type arguments of type SharedSessionContractImplementor Modifier and Type Method Description static <T> T
EnhancementHelper. performWork(BytecodeLazyAttributeInterceptor interceptor, BiFunction<SharedSessionContractImplementor,Boolean,T> work, String entityName, String attributeName)
Constructors in org.hibernate.bytecode.enhance.spi.interceptor with parameters of type SharedSessionContractImplementor Constructor 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)
-
Uses of SharedSessionContractImplementor in org.hibernate.bytecode.internal
-
Uses of SharedSessionContractImplementor in org.hibernate.bytecode.spi
Methods in org.hibernate.bytecode.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description PersistentAttributeInterceptable
BytecodeEnhancementMetadata. createEnhancedProxy(EntityKey keyToLoad, boolean addEmptyEntry, SharedSessionContractImplementor session)
Create an "enhancement as proxy" instance for the given entityvoid
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)
-
Uses of SharedSessionContractImplementor in org.hibernate.cache.internal
Methods in org.hibernate.cache.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
DefaultCacheKeysFactory. createNaturalIdKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)
Object
SimpleCacheKeysFactory. createNaturalIdKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)
CacheTransactionSynchronization
NoCachingRegionFactory. createTransactionContext(SharedSessionContractImplementor session)
List<?>
QueryResultsCacheImpl. get(QueryKey key, String[] spaces, SharedSessionContractImplementor session)
List<?>
QueryResultsCacheImpl. get(QueryKey key, Set<String> spaces, SharedSessionContractImplementor session)
void
TimestampsCacheDisabledImpl. invalidate(String[] spaces, SharedSessionContractImplementor session)
void
TimestampsCacheEnabledImpl. invalidate(String[] spaces, SharedSessionContractImplementor session)
boolean
TimestampsCacheDisabledImpl. isUpToDate(String[] spaces, Long timestamp, SharedSessionContractImplementor session)
boolean
TimestampsCacheDisabledImpl. isUpToDate(Collection<String> spaces, Long timestamp, SharedSessionContractImplementor session)
boolean
TimestampsCacheEnabledImpl. isUpToDate(String[] spaces, Long timestamp, SharedSessionContractImplementor session)
boolean
TimestampsCacheEnabledImpl. isUpToDate(Collection<String> spaces, Long timestamp, SharedSessionContractImplementor session)
void
TimestampsCacheDisabledImpl. preInvalidate(String[] spaces, SharedSessionContractImplementor session)
void
TimestampsCacheEnabledImpl. preInvalidate(String[] spaces, SharedSessionContractImplementor session)
boolean
QueryResultsCacheImpl. put(QueryKey key, List<?> results, SharedSessionContractImplementor session)
static Object
DefaultCacheKeysFactory. staticCreateNaturalIdKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)
Constructors in org.hibernate.cache.internal with parameters of type SharedSessionContractImplementor Constructor Description NaturalIdCacheKeyBuilder(Object naturalIdValues, EntityPersister persister, String entityName, SharedSessionContractImplementor session)
NaturalIdCacheKeyBuilder(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.cache.jcache.internal
Methods in org.hibernate.cache.jcache.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
JCacheAccessImpl. clearCache(SharedSessionContractImplementor session)
Object
JCacheAccessImpl. getFromCache(Object key, SharedSessionContractImplementor session)
void
JCacheAccessImpl. putIntoCache(Object key, Object value, SharedSessionContractImplementor session)
void
JCacheAccessImpl. removeFromCache(Object key, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.cache.spi
Methods in org.hibernate.cache.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
CacheKeysFactory. createNaturalIdKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)
CacheTransactionSynchronization
AbstractRegionFactory. createTransactionContext(SharedSessionContractImplementor session)
default CacheTransactionSynchronization
RegionFactory. createTransactionContext(SharedSessionContractImplementor session)
static QueryKey
QueryKey. from(String sqlQueryString, Limit limit, QueryParameterBindings parameterBindings, SharedSessionContractImplementor persistenceContext)
List<?>
QueryResultsCache. get(QueryKey key, String[] spaces, SharedSessionContractImplementor session)
Attempt to retrieve a cached query result list for the givenQueryKey
from the cache region, and then check if the cached results, if any, are stale.List<?>
QueryResultsCache. get(QueryKey key, Set<String> spaces, SharedSessionContractImplementor session)
Attempt to retrieve a cached query result list for the givenQueryKey
from the cache region, and then check if the cached results, if any, are stale.Object
DirectAccessRegion. getFromCache(Object key, SharedSessionContractImplementor session)
Get value by keyvoid
TimestampsCache. invalidate(String[] spaces, SharedSessionContractImplementor session)
Perform invalidation of the passed spaces (table names) against the timestamp region data.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.boolean
TimestampsCache. isUpToDate(Collection<String> spaces, Long timestamp, SharedSessionContractImplementor session)
Perform an up-to-date check for the given set of query spaces as part of verifying the validity of cached query results.void
TimestampsCache. preInvalidate(String[] spaces, SharedSessionContractImplementor session)
Perform pre-invalidation of the passed spaces (table names) against the timestamp region data.boolean
QueryResultsCache. put(QueryKey key, List<?> result, SharedSessionContractImplementor session)
Store a result list of a query with the givenQueryKey
in the query result cache.void
DirectAccessRegion. putIntoCache(Object key, Object value, SharedSessionContractImplementor session)
Put a value by key -
Uses of SharedSessionContractImplementor in org.hibernate.cache.spi.access
Methods in org.hibernate.cache.spi.access with parameters of type SharedSessionContractImplementor Modifier and Type Method Description 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
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. 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
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().boolean
NaturalIdDataAccess. insert(SharedSessionContractImplementor session, Object key, Object value)
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 typevoid
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
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().boolean
NaturalIdDataAccess. update(SharedSessionContractImplementor session, Object key, Object value)
Called afterQuery an item has been updated (beforeQuery the transaction completes), instead of calling evict(). -
Uses of SharedSessionContractImplementor in org.hibernate.cache.spi.entry
Constructors in org.hibernate.cache.spi.entry with parameters of type SharedSessionContractImplementor Constructor Description StandardCacheEntryImpl(Object[] state, EntityPersister persister, Object version, SharedSessionContractImplementor session, Object owner)
Constructs a StandardCacheEntryImpl -
Uses of SharedSessionContractImplementor in org.hibernate.cache.spi.support
Methods in org.hibernate.cache.spi.support with parameters of type SharedSessionContractImplementor Modifier and Type Method Description boolean
AbstractNaturalIdDataAccess. afterInsert(SharedSessionContractImplementor session, Object key, Object value)
boolean
EntityNonStrictReadWriteAccess. afterInsert(SharedSessionContractImplementor session, Object key, Object value, Object version)
boolean
EntityReadOnlyAccess. afterInsert(SharedSessionContractImplementor session, Object key, Object value, Object version)
boolean
EntityReadWriteAccess. afterInsert(SharedSessionContractImplementor session, Object key, Object value, Object version)
boolean
EntityTransactionalAccess. afterInsert(SharedSessionContractImplementor session, Object key, Object value, Object version)
boolean
NaturalIdNonStrictReadWriteAccess. afterInsert(SharedSessionContractImplementor session, Object key, Object value)
boolean
NaturalIdReadWriteAccess. afterInsert(SharedSessionContractImplementor session, Object key, Object value)
boolean
AbstractNaturalIdDataAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, SoftLock lock)
boolean
EntityNonStrictReadWriteAccess. 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
EntityReadWriteAccess. 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
NaturalIdReadWriteAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, SoftLock lock)
default void
StorageAccess. clearCache(SharedSessionContractImplementor session)
Clear data from the cacheprotected 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
AbstractCachedDomainDataAccess. get(SharedSessionContractImplementor session, Object key)
Object
AbstractReadWriteAccess. get(SharedSessionContractImplementor session, Object key)
Returnsnull
if the item is not readable.Object
CollectionReadWriteAccess. get(SharedSessionContractImplementor session, Object key)
Object
DirectAccessRegionTemplate. getFromCache(Object key, SharedSessionContractImplementor session)
Object
StorageAccess. getFromCache(Object key, SharedSessionContractImplementor session)
Get an item from the cache.protected void
AbstractReadWriteAccess. handleLockExpiry(SharedSessionContractImplementor session, Object key, AbstractReadWriteAccess.Lockable lock)
boolean
AbstractNaturalIdDataAccess. insert(SharedSessionContractImplementor session, Object key, Object value)
boolean
EntityNonStrictReadWriteAccess. insert(SharedSessionContractImplementor session, Object key, Object value, Object version)
boolean
EntityReadOnlyAccess. insert(SharedSessionContractImplementor session, Object key, Object value, Object version)
boolean
EntityReadWriteAccess. insert(SharedSessionContractImplementor session, Object key, Object value, Object version)
boolean
EntityTransactionalAccess. insert(SharedSessionContractImplementor session, Object key, Object value, Object version)
boolean
NaturalIdNonStrictReadWriteAccess. insert(SharedSessionContractImplementor session, Object key, Object value)
boolean
NaturalIdReadWriteAccess. insert(SharedSessionContractImplementor session, Object key, Object value)
SoftLock
AbstractCollectionDataAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)
SoftLock
AbstractEntityDataAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)
SoftLock
AbstractNaturalIdDataAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)
SoftLock
AbstractReadWriteAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)
SoftLock
CollectionReadWriteAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)
boolean
AbstractCachedDomainDataAccess. putFromLoad(SharedSessionContractImplementor session, Object key, Object value, Object version)
boolean
AbstractCachedDomainDataAccess. putFromLoad(SharedSessionContractImplementor session, Object key, Object value, Object version, boolean minimalPutOverride)
boolean
AbstractReadWriteAccess. putFromLoad(SharedSessionContractImplementor session, Object key, Object value, Object version)
boolean
AbstractReadWriteAccess. putFromLoad(SharedSessionContractImplementor session, Object key, Object value, Object version, boolean minimalPutOverride)
boolean
CollectionReadWriteAccess. putFromLoad(SharedSessionContractImplementor session, Object key, Object value, 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 databasevoid
DirectAccessRegionTemplate. putIntoCache(Object key, Object value, SharedSessionContractImplementor session)
void
StorageAccess. putIntoCache(Object key, Object value, SharedSessionContractImplementor session)
Put an item into the cachevoid
AbstractCachedDomainDataAccess. remove(SharedSessionContractImplementor session, Object key)
void
AbstractReadWriteAccess. remove(SharedSessionContractImplementor session, Object key)
void
EntityNonStrictReadWriteAccess. remove(SharedSessionContractImplementor session, Object key)
void
NaturalIdNonStrictReadWriteAccess. remove(SharedSessionContractImplementor session, Object key)
void
AbstractCachedDomainDataAccess. removeAll(SharedSessionContractImplementor session)
void
AbstractReadWriteAccess. removeAll(SharedSessionContractImplementor session)
default void
StorageAccess. removeFromCache(Object key, SharedSessionContractImplementor session)
Remove an item from the cache by keyvoid
AbstractCollectionDataAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)
void
AbstractEntityDataAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)
void
AbstractNaturalIdDataAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)
void
AbstractReadWriteAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)
void
CollectionNonStrictReadWriteAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)
void
CollectionReadWriteAccess. 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
EntityReadOnlyAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)
void
NaturalIdNonStrictReadWriteAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)
void
NaturalIdReadOnlyAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)
boolean
AbstractNaturalIdDataAccess. update(SharedSessionContractImplementor session, Object key, Object value)
boolean
EntityNonStrictReadWriteAccess. 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
EntityReadWriteAccess. 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
NaturalIdNonStrictReadWriteAccess. update(SharedSessionContractImplementor session, Object key, Object value)
boolean
NaturalIdReadWriteAccess. update(SharedSessionContractImplementor session, Object key, Object value)
-
Uses of SharedSessionContractImplementor in org.hibernate.collection.internal
-
Uses of SharedSessionContractImplementor in org.hibernate.collection.spi
Methods in org.hibernate.collection.spi that return SharedSessionContractImplementor Modifier and Type Method Description SharedSessionContractImplementor
AbstractPersistentCollection. getSession()
Get the session currently associated with this collection.Methods in org.hibernate.collection.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description protected static <E> Collection<E>
AbstractPersistentCollection. getOrphans(Collection<E> oldElements, Collection<E> currentElements, String entityName, SharedSessionContractImplementor session)
Given a collection of entity instances that used to belong to the collection, and a collection of instances that currently belong, return a collection of orphansstatic void
AbstractPersistentCollection. identityRemove(Collection<?> list, Object entityInstance, String entityName, SharedSessionContractImplementor session)
Removes entity entries that have an equal identifier with the incoming entity instancePersistentCollection<E>
CollectionSemantics. instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Create a wrapper for the collectionboolean
AbstractPersistentCollection. setCurrentSession(SharedSessionContractImplementor session)
boolean
PersistentCollection. setCurrentSession(SharedSessionContractImplementor session)
Associate the collection with the given session.boolean
AbstractPersistentCollection. unsetSession(SharedSessionContractImplementor currentSession)
boolean
PersistentCollection. unsetSession(SharedSessionContractImplementor currentSession)
Disassociate this collection from the given session.PersistentCollection<E>
CollectionSemantics. wrap(CE rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Wrap a raw collection in wrapperConstructors in org.hibernate.collection.spi with parameters of type SharedSessionContractImplementor Constructor Description AbstractPersistentCollection(SharedSessionContractImplementor session)
PersistentArrayHolder(SharedSessionContractImplementor session, Object array)
Constructs a PersistentCollection instance for holding an array.PersistentArrayHolder(SharedSessionContractImplementor session, CollectionPersister persister)
Constructs a PersistentCollection instance for holding an array.PersistentBag(SharedSessionContractImplementor session)
Constructs a PersistentBagPersistentBag(SharedSessionContractImplementor session, Collection<E> coll)
Constructs a PersistentBagPersistentIdentifierBag(SharedSessionContractImplementor session)
Constructs a PersistentIdentifierBag.PersistentIdentifierBag(SharedSessionContractImplementor session, Collection<E> coll)
Constructs a PersistentIdentifierBag.PersistentList(SharedSessionContractImplementor session)
Constructs a PersistentList.PersistentList(SharedSessionContractImplementor session, List<E> list)
Constructs a PersistentList.PersistentMap(SharedSessionContractImplementor session)
Instantiates a lazy map (the underlying map is un-initialized).PersistentMap(SharedSessionContractImplementor session, Map<K,E> map)
Instantiates a non-lazy map (the underlying map is constructed from the incoming map reference).PersistentSet(SharedSessionContractImplementor session)
Constructor matching super.PersistentSet(SharedSessionContractImplementor session, Set<E> set)
Instantiates a non-lazy set (the underlying set is constructed from the incoming set reference).PersistentSortedMap(SharedSessionContractImplementor session, Comparator<K> comparator)
Constructs a PersistentSortedMap.PersistentSortedMap(SharedSessionContractImplementor session, SortedMap<K,E> map)
Constructs a PersistentSortedMap.PersistentSortedSet(SharedSessionContractImplementor session, Comparator<E> comparator)
Constructs a PersistentSortedSetPersistentSortedSet(SharedSessionContractImplementor session, SortedSet<E> set)
Constructs a PersistentSortedSet -
Uses of SharedSessionContractImplementor in org.hibernate.dialect
Methods in org.hibernate.dialect with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Blob
LobMergeStrategy. mergeBlob(Blob original, Blob target, SharedSessionContractImplementor session)
Perform merge onBlob
values.Clob
LobMergeStrategy. mergeClob(Clob original, Clob target, SharedSessionContractImplementor session)
Perform merge onClob
values.NClob
LobMergeStrategy. mergeNClob(NClob original, NClob target, SharedSessionContractImplementor session)
Perform merge onNClob
values. -
Uses of SharedSessionContractImplementor in org.hibernate.dialect.temptable
Methods in org.hibernate.dialect.temptable with parameters of type SharedSessionContractImplementor Modifier and Type Method Description static void
TemporaryTableHelper. cleanTemporaryTableRows(TemporaryTable temporaryTable, TemporaryTableExporter exporter, Function<SharedSessionContractImplementor,String> sessionUidAccess, SharedSessionContractImplementor session)
String
StandardTemporaryTableExporter. getSqlTruncateCommand(TemporaryTable idTable, Function<SharedSessionContractImplementor,String> sessionUidAccess, SharedSessionContractImplementor session)
String
TemporaryTableExporter. getSqlTruncateCommand(TemporaryTable idTable, Function<SharedSessionContractImplementor,String> sessionUidAccess, SharedSessionContractImplementor session)
Method parameters in org.hibernate.dialect.temptable with type arguments of type SharedSessionContractImplementor Modifier and Type Method Description static void
TemporaryTableHelper. cleanTemporaryTableRows(TemporaryTable temporaryTable, TemporaryTableExporter exporter, Function<SharedSessionContractImplementor,String> sessionUidAccess, SharedSessionContractImplementor session)
String
StandardTemporaryTableExporter. getSqlTruncateCommand(TemporaryTable idTable, Function<SharedSessionContractImplementor,String> sessionUidAccess, SharedSessionContractImplementor session)
String
TemporaryTableExporter. getSqlTruncateCommand(TemporaryTable idTable, Function<SharedSessionContractImplementor,String> sessionUidAccess, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.engine.internal
Methods in org.hibernate.engine.internal that return SharedSessionContractImplementor Modifier and Type Method Description SharedSessionContractImplementor
StatefulPersistenceContext. getSession()
protected SharedSessionContractImplementor
NaturalIdResolutionsImpl. session()
Access to the session (via the PersistenceContext) to which this delegate ultimately belongs.Methods in org.hibernate.engine.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description static void
CacheHelper. addBasicValueToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, JdbcMapping jdbcMapping, SharedSessionContractImplementor session)
static void
TwoPhaseLoad. addUninitializedCachedEntity(EntityKey key, Object object, EntityPersister persister, LockMode lockMode, Object version, SharedSessionContractImplementor session)
static NonNullableTransientDependencies
ForeignKeys. findNonNullableTransientEntities(String entityName, Object entity, Object[] values, boolean isEarlyInsert, SharedSessionContractImplementor session)
Find all non-nullable references to entities that have not yet been inserted in the database, where the foreign key is a reference to an unsaved transient entity.static Object
CacheHelper. fromSharedCache(SharedSessionContractImplementor session, Object cacheKey, CachedDomainDataAccess cacheAccess)
static Object
ForeignKeys. getEntityIdentifierIfNotUnsaved(String entityName, Object object, SharedSessionContractImplementor session)
Return the identifier of the persistent or transient object, or throw an exception if the instance is "unsaved"static Object
Versioning. increment(Object version, EntityVersionMapping versionMapping, SharedSessionContractImplementor session)
Generate the next increment in the optimistic locking value according theVersionJavaType
contract for the version property.static Object
Versioning. incrementVersion(Object entity, Object currentVersion, EntityPersister persister, SharedSessionContractImplementor session)
Generate the next increment in the optimistic locking value according theGenerator
contract for the version property.static boolean
ForeignKeys. isNotTransient(String entityName, Object entity, Boolean assumed, SharedSessionContractImplementor session)
Is this instance persistent or detached?boolean
AbstractEntityEntry. isNullifiable(boolean earlyInsert, SharedSessionContractImplementor session)
static boolean
ForeignKeys. isTransient(String entityName, Object entity, Boolean assumed, SharedSessionContractImplementor session)
Is this instance, which we know is not persistent, actually transient?static void
BatchFetchQueueHelper. removeBatchLoadableEntityKey(Object id, EntityMappingType entityMappingType, SharedSessionContractImplementor session)
static void
BatchFetchQueueHelper. removeBatchLoadableEntityKey(Object id, EntityPersister persister, SharedSessionContractImplementor session)
Remove the entity key with the specifiedid
andpersister
from the batch loadable entitiesBatchFetchQueue
.static void
BatchFetchQueueHelper. removeBatchLoadableEntityKey(EntityKey entityKey, SharedSessionContractImplementor session)
Remove the entity key with the specifiedid
andpersister
from the batch loadable entitiesBatchFetchQueue
.static void
BatchFetchQueueHelper. removeNotFoundBatchLoadableEntityKeys(Serializable[] ids, List<?> results, EntityPersister persister, SharedSessionContractImplementor session)
Finds the IDs for entities that were not found when the batch was loaded, and removes the corresponding entity keys from theBatchFetchQueue
.static Object
Versioning. seed(EntityVersionMapping versionMapping, SharedSessionContractImplementor session)
Create an initial optimistic locking value according theEntityVersionMapping
contract for the version property.static @org.hibernate.Remove boolean
Versioning. seedVersion(Object[] fields, int versionProperty, EntityVersionMapping versionMapping, SharedSessionContractImplementor session)
static boolean
Versioning. seedVersion(Object entity, Object[] fields, EntityPersister persister, SharedSessionContractImplementor session)
Create an initial optimistic locking value using the for the version property if required using theGenerator
contract and inject it into the snapshot state.String
NonNullableTransientDependencies. toLoggableString(SharedSessionContractImplementor session)
Build a loggable representation of the paths tracked here at the moment.Constructors in org.hibernate.engine.internal with parameters of type SharedSessionContractImplementor Constructor Description Nullability(SharedSessionContractImplementor session)
Constructs a NullabilityNullifier(Object self, boolean isDelete, boolean isEarlyInsert, SharedSessionContractImplementor session, EntityPersister persister)
Constructs a NullifierStatefulPersistenceContext(SharedSessionContractImplementor session)
Constructs a PersistentContext, bound to the given session. -
Uses of SharedSessionContractImplementor in org.hibernate.engine.jdbc.mutation
Methods in org.hibernate.engine.jdbc.mutation with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
MutationExecutor. execute(Object modelReference, ValuesAnalysis valuesAnalysis, TableInclusionChecker inclusionChecker, OperationResultChecker resultChecker, SharedSessionContractImplementor session)
Perform the execution, returning any generated value. -
Uses of SharedSessionContractImplementor in org.hibernate.engine.jdbc.mutation.group
Methods in org.hibernate.engine.jdbc.mutation.group with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
PreparedStatementDetails. releaseStatement(SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.engine.jdbc.mutation.internal
-
Uses of SharedSessionContractImplementor in org.hibernate.engine.jdbc.mutation.spi
Methods in org.hibernate.engine.jdbc.mutation.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description MutationExecutor
MutationExecutorService. createExecutor(BatchKeyAccess batchKeySupplier, MutationOperationGroup operationGroup, SharedSessionContractImplementor session)
Create an executor for the givenoperationGroup
, potentially using batching -
Uses of SharedSessionContractImplementor in org.hibernate.engine.spi
Subinterfaces of SharedSessionContractImplementor in org.hibernate.engine.spi Modifier and Type Interface Description interface
SessionImplementor
Defines the "internal contract" betweenSession
and other parts of Hibernate including implementors ofType
,EntityPersister
, andCollectionPersister
.Classes in org.hibernate.engine.spi that implement SharedSessionContractImplementor Modifier and Type Class Description class
SessionDelegatorBaseImpl
A wrapper class that delegates all method invocations to a delegate instance ofSessionImplementor
.class
SharedSessionDelegatorBaseImpl
A wrapper class that delegates all method invocations to a delegate instance ofSharedSessionContractImplementor
.Fields in org.hibernate.engine.spi declared as SharedSessionContractImplementor Modifier and Type Field Description protected SharedSessionContractImplementor
SharedSessionDelegatorBaseImpl. delegate
Methods in org.hibernate.engine.spi that return SharedSessionContractImplementor Modifier and Type Method Description SharedSessionContractImplementor
PersistenceContext. getSession()
Get the session to which this persistence context is bound.default SharedSessionContractImplementor
SharedSessionContractImplementor. getSession()
Returns this object, fulfilling the contract ofWrapperOptions
.Methods in org.hibernate.engine.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method 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)
-
Uses of SharedSessionContractImplementor in org.hibernate.envers.internal.entities
Methods in org.hibernate.envers.internal.entities with parameters of type SharedSessionContractImplementor Modifier and Type Method Description RevisionType
RevisionTypeType. nullSafeGet(ResultSet rs, int position, SharedSessionContractImplementor session, Object owner)
void
RevisionTypeType. nullSafeSet(PreparedStatement preparedStatement, RevisionType value, int index, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.envers.internal.entities.mapper.relation.lazy
Classes in org.hibernate.envers.internal.entities.mapper.relation.lazy that implement SharedSessionContractImplementor Modifier and Type Class Description class
AbstractDelegateSessionImplementor
class
ToOneDelegateSessionImplementor
-
Uses of SharedSessionContractImplementor in org.hibernate.envers.internal.entities.mapper.relation.query
Methods in org.hibernate.envers.internal.entities.mapper.relation.query with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Query
AbstractRelationQueryGenerator. getQuery(SharedSessionContractImplementor session, Object primaryKey, Number revision, boolean removed)
Query
RelationQueryGenerator. getQuery(SharedSessionContractImplementor session, Object primaryKey, Number revision, boolean removed)
Return the query to fetch the relation. -
Uses of SharedSessionContractImplementor in org.hibernate.event.spi
Subinterfaces of SharedSessionContractImplementor in org.hibernate.event.spi Modifier and Type Interface Description interface
EventSource
-
Uses of SharedSessionContractImplementor in org.hibernate.generator
Methods in org.hibernate.generator with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
BeforeExecutionGenerator. generate(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType)
Generate a value. -
Uses of SharedSessionContractImplementor in org.hibernate.generator.internal
Methods in org.hibernate.generator.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
CurrentTimestampGeneration. generate(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType)
Object
SourceGeneration. generate(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType)
Deprecated.Object
TenantIdGeneration. generate(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType)
Object
VersionGeneration. generate(SharedSessionContractImplementor session, Object owner, Object current, EventType eventType)
-
Uses of SharedSessionContractImplementor in org.hibernate.id
Methods in org.hibernate.id with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
CompositeNestedGeneratedValueGenerator.GenerationPlan. execute(SharedSessionContractImplementor session, Object incomingObject, Object injectionContext)
Execute the value generation.Object
Assigned. generate(SharedSessionContractImplementor session, Object obj)
Object
CompositeNestedGeneratedValueGenerator. generate(SharedSessionContractImplementor session, Object object)
Object
ForeignGenerator. generate(SharedSessionContractImplementor sessionImplementor, Object object)
Deprecated.Object
GUIDGenerator. generate(SharedSessionContractImplementor session, Object obj)
Deprecated.Object
IdentifierGenerator. generate(SharedSessionContractImplementor session, Object object)
Generate a new identifier.default Object
IdentifierGenerator. generate(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType)
Generate a value.Object
IncrementGenerator. generate(SharedSessionContractImplementor session, Object object)
Object
UUIDGenerator. generate(SharedSessionContractImplementor session, Object object)
Deprecated.Object
UUIDHexGenerator. generate(SharedSessionContractImplementor session, Object obj)
Deprecated.UUID
UUIDGenerationStrategy. generateUUID(SharedSessionContractImplementor session)
Deprecated.Generate the UUID.Object
CompositeNestedGeneratedValueGenerator.GenerationContextLocator. locateGenerationContext(SharedSessionContractImplementor session, Object incomingObject)
Given the incoming object, determine the context for injecting back its generated id sub-values. -
Uses of SharedSessionContractImplementor in org.hibernate.id.enhanced
Methods in org.hibernate.id.enhanced with parameters of type SharedSessionContractImplementor Modifier and Type Method Description AccessCallback
DatabaseStructure. buildCallback(SharedSessionContractImplementor session)
A callback to be able to get the next value from the underlying structure as needed.AccessCallback
SequenceStructure. buildCallback(SharedSessionContractImplementor session)
AccessCallback
TableStructure. buildCallback(SharedSessionContractImplementor session)
Object
SequenceStyleGenerator. generate(SharedSessionContractImplementor session, Object object)
Object
TableGenerator. generate(SharedSessionContractImplementor session, Object obj)
-
Uses of SharedSessionContractImplementor in org.hibernate.id.insert
Methods in org.hibernate.id.insert with parameters of type SharedSessionContractImplementor Modifier and Type Method Description protected void
AbstractSelectingDelegate. bindParameters(Object entity, PreparedStatement ps, SharedSessionContractImplementor session)
protected void
UniqueKeySelectingDelegate. bindParameters(Object entity, PreparedStatement ps, SharedSessionContractImplementor session)
protected abstract Object
AbstractReturningDelegate. executeAndExtract(String insertSql, PreparedStatement insertStatement, SharedSessionContractImplementor session)
Object
GetGeneratedKeysDelegate. executeAndExtract(String insertSql, PreparedStatement insertStatement, SharedSessionContractImplementor session)
protected Object
InsertReturningDelegate. executeAndExtract(String insertSql, PreparedStatement insertStatement, SharedSessionContractImplementor session)
Object
SybaseJConnGetGeneratedKeysDelegate. executeAndExtract(String insertSql, PreparedStatement insertStatement, SharedSessionContractImplementor session)
protected Object
AbstractSelectingDelegate. extractGeneratedValue(ResultSet resultSet, SharedSessionContractImplementor session)
Extract the generated key value from the given result set after execution ofAbstractSelectingDelegate.getSelectSQL()
.Object
AbstractReturningDelegate. performInsert(String insertSql, SharedSessionContractImplementor session, Binder binder)
Object
AbstractReturningDelegate. performInsert(PreparedStatementDetails insertStatementDetails, JdbcValueBindings valueBindings, Object entity, SharedSessionContractImplementor session)
Object
AbstractSelectingDelegate. performInsert(String insertSQL, SharedSessionContractImplementor session, Binder binder)
Object
AbstractSelectingDelegate. performInsert(PreparedStatementDetails insertStatementDetails, JdbcValueBindings jdbcValueBindings, Object entity, SharedSessionContractImplementor session)
Object
GetGeneratedKeysDelegate. performInsert(PreparedStatementDetails insertStatementDetails, JdbcValueBindings jdbcValueBindings, Object entity, SharedSessionContractImplementor session)
Object
InsertGeneratedIdentifierDelegate. performInsert(String insertSQL, SharedSessionContractImplementor session, Binder binder)
Execute the giveninsert
statement and return the generated key value.Object
InsertGeneratedIdentifierDelegate. performInsert(PreparedStatementDetails insertStatementDetails, JdbcValueBindings valueBindings, Object entity, SharedSessionContractImplementor session)
Perform theinsert
and extract the database-generated primary key value.PreparedStatement
AbstractSelectingDelegate. prepareStatement(String insertSql, SharedSessionContractImplementor session)
PreparedStatement
GetGeneratedKeysDelegate. prepareStatement(String insertSql, SharedSessionContractImplementor session)
PreparedStatement
InsertGeneratedIdentifierDelegate. prepareStatement(String insertSql, SharedSessionContractImplementor session)
PreparedStatement
InsertReturningDelegate. prepareStatement(String insertSql, SharedSessionContractImplementor session)
protected void
AbstractReturningDelegate. releaseStatement(PreparedStatement insert, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.id.uuid
Methods in org.hibernate.id.uuid with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
UuidGenerator. generate(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType)
UUID
CustomVersionOneStrategy. generateUuid(SharedSessionContractImplementor session)
UUID
StandardRandomStrategy. generateUuid(SharedSessionContractImplementor session)
UUID
CustomVersionOneStrategy. generateUUID(SharedSessionContractImplementor session)
UUID
StandardRandomStrategy. generateUUID(SharedSessionContractImplementor session)
Delegates toUUID.randomUUID()
-
Uses of SharedSessionContractImplementor in org.hibernate.internal
Classes in org.hibernate.internal that implement SharedSessionContractImplementor Modifier and Type Class Description class
AbstractSharedSessionContract
Base class for implementations ofSharedSessionContract
andSharedSessionContractImplementor
.class
SessionImpl
Concrete implementation of theSession
API.class
StatelessSessionImpl
Concrete implementation of theStatelessSession
API.Methods in org.hibernate.internal that return SharedSessionContractImplementor Modifier and Type Method Description protected SharedSessionContractImplementor
AbstractScrollableResults. getPersistenceContext()
-
Uses of SharedSessionContractImplementor in org.hibernate.loader.ast.internal
Methods in org.hibernate.loader.ast.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description protected abstract void
AbstractNaturalIdLoader. applyNaturalIdRestriction(Object bindValue, TableGroup rootTableGroup, Consumer<Predicate> predicateConsumer, BiConsumer<JdbcParameter,JdbcParameterBinding> jdbcParameterConsumer, LoaderSqlAstCreationState sqlAstCreationState, SharedSessionContractImplementor session)
Apply restriction necessary to match the given natural-id value.protected void
CompoundNaturalIdLoader. applyNaturalIdRestriction(Object bindValue, TableGroup rootTableGroup, Consumer<Predicate> predicateConsumer, BiConsumer<JdbcParameter,JdbcParameterBinding> jdbcParameterConsumer, LoaderSqlAstCreationState sqlAstCreationState, SharedSessionContractImplementor session)
protected void
SimpleNaturalIdLoader. applyNaturalIdRestriction(Object bindValue, TableGroup rootTableGroup, Consumer<Predicate> predicateConsumer, BiConsumer<JdbcParameter,JdbcParameterBinding> jdbcParameterConsumer, LoaderSqlAstCreationState sqlAstCreationState, SharedSessionContractImplementor session)
protected void
AbstractCollectionBatchLoader. finishInitializingKey(Object key, SharedSessionContractImplementor session)
static Boolean
LoaderHelper. getReadOnlyFromLoadQueryInfluencers(SharedSessionContractImplementor session)
Determine if the influencers associated with the given Session indicate read-onlyprotected void
EntityBatchLoaderInPredicate. initializeEntities(Object[] idsToInitialize, Object pkValue, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
T
AbstractEntityBatchLoader. load(Object pkValue, Object entityInstance, LockOptions lockOptions, SharedSessionContractImplementor session)
T
AbstractNaturalIdLoader. load(Object naturalIdValue, NaturalIdLoadOptions options, SharedSessionContractImplementor session)
PersistentCollection<?>
CollectionBatchLoaderArrayParam. load(Object key, SharedSessionContractImplementor session)
PersistentCollection<?>
CollectionBatchLoaderInPredicate. load(Object key, SharedSessionContractImplementor session)
Object
CollectionElementLoaderByIndex. load(Object key, Object index, SharedSessionContractImplementor session)
PersistentCollection<?>
CollectionLoaderNamedQuery. load(Object key, SharedSessionContractImplementor session)
PersistentCollection<?>
CollectionLoaderSingleKey. load(Object key, SharedSessionContractImplementor session)
PersistentCollection<?>
CollectionLoaderSubSelectFetch. load(Object triggerKey, SharedSessionContractImplementor session)
T
EntityBatchLoaderArrayParam. load(Object pkValue, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
T
EntityBatchLoaderArrayParam. load(Object pkValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
T
EntityBatchLoaderInPredicate. load(Object pkValue, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
T
EntityBatchLoaderInPredicate. load(Object pkValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
T
SingleIdEntityLoaderProvidedQueryImpl. load(Object pkValue, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
T
SingleIdEntityLoaderProvidedQueryImpl. load(Object pkValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
T
SingleIdEntityLoaderStandardImpl. load(Object key, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
T
SingleIdEntityLoaderStandardImpl. load(Object key, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
T
SingleIdLoadPlan. load(Object restrictedValue, Boolean readOnly, Boolean singleResultExpected, SharedSessionContractImplementor session)
T
SingleIdLoadPlan. load(Object restrictedValue, Boolean readOnly, SharedSessionContractImplementor session)
T
SingleIdLoadPlan. load(Object restrictedValue, Object entityInstance, Boolean readOnly, Boolean singleResultExpected, SharedSessionContractImplementor session)
T
SingleIdLoadPlan. load(Object restrictedValue, SharedSessionContractImplementor session)
T
SingleUniqueKeyEntityLoaderStandard. load(Object ukValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
static <R,K>
List<R>LoaderHelper. loadByArrayParameter(K[] idsToInitialize, SelectStatement sqlAst, JdbcOperationQuerySelect jdbcOperation, JdbcParameter jdbcParameter, JdbcMapping arrayJdbcMapping, Object entityId, Object entityInstance, EntityMappingType rootEntityDescriptor, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Load one or more instances of a model part (an entity or collection) based on a SQL ARRAY parameter to specify the keys (as opposed to the more traditional SQL IN predicate approach).Object[]
SingleIdEntityLoaderProvidedQueryImpl. loadDatabaseSnapshot(Object id, SharedSessionContractImplementor session)
Object[]
SingleIdEntityLoaderSupport. loadDatabaseSnapshot(Object id, SharedSessionContractImplementor session)
<K> List<E>
MultiNaturalIdLoaderArrayParam. multiLoad(K[] naturalIds, MultiNaturalIdLoadOptions loadOptions, SharedSessionContractImplementor session)
<K> List<E>
MultiNaturalIdLoaderInPredicate. multiLoad(K[] naturalIds, MultiNaturalIdLoadOptions options, SharedSessionContractImplementor session)
<E> List<E>
MultiNaturalIdLoadingBatcher. multiLoad(Object[] naturalIdValues, MultiNaturalIdLoadOptions options, SharedSessionContractImplementor session)
static <K> K[]
LoaderHelper. normalizeKeys(K[] keys, BasicValuedModelPart keyPart, SharedSessionContractImplementor session, SessionFactoryImplementor sessionFactory)
Normalize an array of keys (primary, foreign or natural).void
MultiKeyLoadChunker. processChunks(K[] keys, int nonNullElementCount, org.hibernate.loader.ast.internal.MultiKeyLoadChunker.SqlExecutionContextCreator sqlExecutionContextCreator, org.hibernate.loader.ast.internal.MultiKeyLoadChunker.KeyCollector<K> keyCollector, org.hibernate.loader.ast.internal.MultiKeyLoadChunker.ChunkStartListener startListener, org.hibernate.loader.ast.internal.MultiKeyLoadChunker.ChunkBoundaryListener boundaryListener, SharedSessionContractImplementor session)
Process the chunksObject
SingleUniqueKeyEntityLoaderStandard. resolveId(Object ukValue, SharedSessionContractImplementor session)
protected <X> X[]
EntityBatchLoaderArrayParam. resolveIdsToInitialize(Object pkValue, SharedSessionContractImplementor session)
protected Object[]
EntityBatchLoaderInPredicate. resolveIdsToLoad(Object pkValue, SharedSessionContractImplementor session)
Object
AbstractNaturalIdLoader. resolveIdToNaturalId(Object id, SharedSessionContractImplementor session)
Object
AbstractNaturalIdLoader. resolveNaturalIdToId(Object naturalIdValue, SharedSessionContractImplementor session)
protected <L> L
AbstractNaturalIdLoader. selectByNaturalId(Object bindValue, NaturalIdLoadOptions options, BiFunction<TableGroup,LoaderSqlAstCreationState,DomainResult<?>> domainResultProducer, LoaderSqlAstCreationState.FetchProcessor fetchProcessor, Function<Boolean,Long> statementStartHandler, BiConsumer<Object,Long> statementCompletionHandler, SharedSessionContractImplementor session)
Perform a select, restricted by natural-id, based on `domainResultProducer` and `fetchProcessor`Constructors in org.hibernate.loader.ast.internal with parameters of type SharedSessionContractImplementor Constructor Description CollectionLoaderSubSelectFetch(PluralAttributeMapping attributeMapping, DomainResult cachedDomainResult, SubselectFetch subselect, SharedSessionContractImplementor session)
NoCallbackExecutionContext(SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.loader.ast.spi
Methods in org.hibernate.loader.ast.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
AfterLoadAction. afterLoad(Object entity, EntityMappingType entityMappingType, SharedSessionContractImplementor session)
The action trigger - theentity
is being loadeddefault void
AfterLoadAction. afterLoad(SharedSessionContractImplementor session, Object entity, Loadable persister)
Deprecated, for removal: This API element is subject to removal in a future version.Use the updated formPersistentCollection<?>
CollectionLoader. load(Object key, SharedSessionContractImplementor session)
Load a collection by its key (not necessarily the same as its owner's PK).T
NaturalIdLoader. load(Object naturalIdToLoad, NaturalIdLoadOptions options, SharedSessionContractImplementor session)
Perform the load of the entity by its natural-idT
SingleEntityLoader. load(Object key, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Load an entity by a primary or unique key value.T
SingleIdEntityLoader. load(Object pkValue, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
default T
SingleIdEntityLoader. load(Object pkValue, Object entityInstance, LockOptions lockOptions, SharedSessionContractImplementor session)
Load by primary key value, populating the passed entity instance.T
SingleIdEntityLoader. load(Object pkValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Load by primary key valueT
SingleUniqueKeyEntityLoader. load(Object ukValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Load by unique key valueObject[]
SingleIdEntityLoader. loadDatabaseSnapshot(Object id, SharedSessionContractImplementor session)
Load database snapshot by primary key value<K> List<E>
MultiNaturalIdLoader. multiLoad(K[] naturalIds, MultiNaturalIdLoadOptions options, SharedSessionContractImplementor session)
Load multiple entities by natural-id.Object
SingleUniqueKeyEntityLoader. resolveId(Object key, SharedSessionContractImplementor session)
Resolve the matching idObject
NaturalIdLoader. resolveIdToNaturalId(Object id, SharedSessionContractImplementor session)
Resolve the natural-id value(s) from an idObject
NaturalIdLoader. resolveNaturalIdToId(Object naturalIdValue, SharedSessionContractImplementor session)
Resolve the id from natural-id value -
Uses of SharedSessionContractImplementor in org.hibernate.mapping
Methods in org.hibernate.mapping with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
Component.ValueGenerationPlan. execute(SharedSessionContractImplementor session, Object incomingObject, Object injectionContext)
Object
Component.StandardGenerationContextLocator. locateGenerationContext(SharedSessionContractImplementor session, Object incomingObject)
-
Uses of SharedSessionContractImplementor in org.hibernate.metadata
Methods in org.hibernate.metadata with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
ClassMetadata. getIdentifier(Object entity, SharedSessionContractImplementor session)
Deprecated.Get the identifier of an instance (throw an exception if no identifier property)Object[]
ClassMetadata. getPropertyValuesToInsert(Object entity, Map<Object,Object> mergeMap, SharedSessionContractImplementor session)
Deprecated.Return the values of the mapped properties of the objectObject
ClassMetadata. instantiate(Object id, SharedSessionContractImplementor session)
Deprecated.Create a class instance initialized with the given identifiervoid
ClassMetadata. setIdentifier(Object entity, Object id, SharedSessionContractImplementor session)
Deprecated.Inject the identifier value into the given entity. -
Uses of SharedSessionContractImplementor in org.hibernate.metamodel.internal
Methods in org.hibernate.metamodel.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description <X,Y>
intAbstractCompositeIdentifierMapping. forEachJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.metamodel.mapping
Methods in org.hibernate.metamodel.mapping with parameters of type SharedSessionContractImplementor Modifier and Type Method Description default void
BasicValuedMapping. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
Bindable. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
Add to the MutableCacheKey the values obtained disassembling the value and the hasCode generated from the disassembled value.default void
EmbeddableValuedModelPart. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
default void
EntityValuedModelPart. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
default boolean
ModelPart. areEqual(Object one, Object other, SharedSessionContractImplementor session)
default <X,Y>
intEmbeddableValuedModelPart. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intModelPart. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
Breaks down the domain value to its constituent JDBC values.default int
ModelPart. breakDownJdbcValues(Object domainValue, ModelPart.JdbcValueConsumer valueConsumer, SharedSessionContractImplementor session)
A short hand form ofModelPart.breakDownJdbcValues(Object, int, Object, Object, JdbcValueBiConsumer, SharedSessionContractImplementor)
, that passes 0 as offset and null for the two valuesX
andY
.default <X,Y>
intEmbeddableValuedModelPart. decompose(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
default <X,Y>
intModelPart. decompose(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
Similar toModelPart.breakDownJdbcValues(Object, int, Object, Object, JdbcValueBiConsumer, SharedSessionContractImplementor)
, but this method is supposed to be used for decomposing values for assignment expressions.default int
ModelPart. decompose(Object domainValue, ModelPart.JdbcValueConsumer valueConsumer, SharedSessionContractImplementor session)
A short hand form ofModelPart.decompose(Object, int, Object, Object, JdbcValueBiConsumer, SharedSessionContractImplementor)
, that passes 0 as offset and null for the two valuesX
andY
.default Object
BasicValuedMapping. disassemble(Object value, SharedSessionContractImplementor session)
Object
Bindable. disassemble(Object value, SharedSessionContractImplementor session)
default Object
EmbeddableValuedModelPart. disassemble(Object value, SharedSessionContractImplementor session)
default Object
EntityValuedModelPart. disassemble(Object value, SharedSessionContractImplementor session)
default int
Bindable. forEachDisassembledJdbcValue(Object value, int offset, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
A short hand form ofBindable.forEachDisassembledJdbcValue(Object, int, Object, Object, JdbcValuesBiConsumer, SharedSessionContractImplementor)
, that passes null for the two valuesX
andY
.<X,Y>
intBindable. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
LikeBindable.forEachDisassembledJdbcValue(Object, Object, Object, JdbcValuesBiConsumer, SharedSessionContractImplementor)
, but additionally receives an offset by which the selectionIndex is incremented when callingBindable.JdbcValuesBiConsumer.consume(int, Object, Object, Object, JdbcMapping)
.default int
Bindable. forEachDisassembledJdbcValue(Object value, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
A short hand form ofBindable.forEachDisassembledJdbcValue(Object, Object, Object, JdbcValuesBiConsumer, SharedSessionContractImplementor)
, that passes null for the two valuesX
andY
.default <X,Y>
intBindable. forEachDisassembledJdbcValue(Object value, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
default <X,Y>
intEmbeddableValuedModelPart. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
default <X,Y>
intEntityValuedModelPart. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
default int
Bindable. forEachJdbcValue(Object value, int offset, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
A short hand form ofBindable.forEachJdbcValue(Object, int, Object, Object, JdbcValuesBiConsumer, SharedSessionContractImplementor)
, that passes null for the two valuesX
andY
.default <X,Y>
intBindable. forEachJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
Visit each constituent JDBC value extracted from the entity instance itself.default int
Bindable. forEachJdbcValue(Object value, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
A short hand form ofBindable.forEachJdbcValue(Object, Object, Object, JdbcValuesBiConsumer, SharedSessionContractImplementor)
, that passes null for the two valuesX
andY
.default <X,Y>
intBindable. forEachJdbcValue(Object value, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
Visit each constituent JDBC value extracted from the entity instance itself.default <X,Y>
intEmbeddableValuedModelPart. forEachJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
default <X,Y>
intEntityValuedModelPart. forEachJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> consumer, SharedSessionContractImplementor session)
default Object
ForeignKeyDescriptor. getAssociationKeyFromSide(Object targetObject, ForeignKeyDescriptor.Nature nature, SharedSessionContractImplementor session)
Object
ForeignKeyDescriptor. getAssociationKeyFromSide(Object targetObject, ForeignKeyDescriptor.Side side, SharedSessionContractImplementor session)
Object
NonAggregatedIdentifierMapping.IdentifierValueMapper. getIdentifier(Object entity, SharedSessionContractImplementor session)
Extract the identifier out of the given entity, returning the mapper's representationdefault Object
EntityIdentifierMapping. getIdentifierIfNotUnsaved(Object entity, SharedSessionContractImplementor session)
Return the identifier of the persistent or transient object, or throw an exception if the instance is "unsaved"Object
EntityMappingType. loadByUniqueKey(String propertyName, Object uniqueKey, SharedSessionContractImplementor session)
Load an instance of the persistent class, by a unique key other than the primary key.void
EntityIdentifierMapping. setIdentifier(Object entity, Object id, SharedSessionContractImplementor session)
Inject an identifier value into an instance of the entityvoid
NonAggregatedIdentifierMapping.IdentifierValueMapper. setIdentifier(Object entity, Object id, SharedSessionContractImplementor session)
Extract the identifier out of the given entity, returning the mapper's representationvoid
NaturalIdMapping. verifyFlushState(Object id, Object[] currentState, Object[] loadedState, SharedSessionContractImplementor session)
Verify the natural-id value(s) we are about to flush to the database -
Uses of SharedSessionContractImplementor in org.hibernate.metamodel.mapping.internal
Methods in org.hibernate.metamodel.mapping.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
AbstractEmbeddableMapping. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
AnyDiscriminatorPart. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
BasicEntityIdentifierMappingImpl. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
CollectionIdentifierDescriptorImpl. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
CompoundNaturalIdMapping. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
DiscriminatedAssociationAttributeMapping. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
DiscriminatedCollectionPart. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
EmbeddedForeignKeyDescriptor. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
default void
EntityCollectionPart. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
EntityRowIdMappingImpl. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
EntityVersionMappingImpl. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
InverseNonAggregatedIdentifierMapping. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
NonAggregatedIdentifierMappingImpl. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
PluralAttributeMappingImpl. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
SimpleForeignKeyDescriptor. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
SimpleNaturalIdMapping. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
ToOneAttributeMapping. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
boolean
CompoundNaturalIdMapping. areEqual(Object one, Object other, SharedSessionContractImplementor session)
boolean
VirtualIdEmbeddable. areEqual(Object one, Object other, SharedSessionContractImplementor session)
<X,Y>
intAbstractDiscriminatorMapping. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intAbstractEmbeddableMapping. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intAnyDiscriminatorPart. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intAnyKeyPart. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intBasicAttributeMapping. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intBasicEntityIdentifierMappingImpl. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intBasicValuedCollectionPart. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intCollectionIdentifierDescriptorImpl. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intCompoundNaturalIdMapping. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intDiscriminatedAssociationAttributeMapping. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intDiscriminatedAssociationMapping. breakDownJdbcValues(int offset, X x, Y y, Object domainValue, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intDiscriminatedCollectionPart. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intEmbeddableMappingTypeImpl. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intEmbeddedForeignKeyDescriptor. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intEntityRowIdMappingImpl. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intEntityVersionMappingImpl. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intInverseNonAggregatedIdentifierMapping. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intManyToManyCollectionPart. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intNonAggregatedIdentifierMappingImpl. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intOneToManyCollectionPart. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intPluralAttributeMappingImpl. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intSimpleForeignKeyDescriptor. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intSimpleNaturalIdMapping. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intToOneAttributeMapping. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intBasicValuedCollectionPart. decompose(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intDiscriminatedAssociationAttributeMapping. decompose(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intDiscriminatedAssociationMapping. decompose(int offset, X x, Y y, Object domainValue, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intDiscriminatedCollectionPart. decompose(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intEmbeddableMappingTypeImpl. decompose(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intManyToManyCollectionPart. decompose(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intVirtualIdEmbeddable. decompose(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
Object
AbstractDiscriminatorMapping. disassemble(Object value, SharedSessionContractImplementor session)
Object
AbstractEmbeddableMapping. disassemble(Object value, SharedSessionContractImplementor session)
Object
AbstractEntityCollectionPart. disassemble(Object value, SharedSessionContractImplementor session)
Object
AnyDiscriminatorPart. disassemble(Object value, SharedSessionContractImplementor session)
Object
AnyKeyPart. disassemble(Object value, SharedSessionContractImplementor session)
Object
BasicEntityIdentifierMappingImpl. disassemble(Object value, SharedSessionContractImplementor session)
Object
CollectionIdentifierDescriptorImpl. disassemble(Object value, SharedSessionContractImplementor session)
Object
CompoundNaturalIdMapping. disassemble(Object value, SharedSessionContractImplementor session)
Object
DiscriminatedAssociationAttributeMapping. disassemble(Object value, SharedSessionContractImplementor session)
Object
DiscriminatedCollectionPart. disassemble(Object value, SharedSessionContractImplementor session)
Object
EmbeddedForeignKeyDescriptor. disassemble(Object value, SharedSessionContractImplementor session)
Object
EntityRowIdMappingImpl. disassemble(Object value, SharedSessionContractImplementor session)
Object
EntityVersionMappingImpl. disassemble(Object value, SharedSessionContractImplementor session)
Object
InverseNonAggregatedIdentifierMapping. disassemble(Object value, SharedSessionContractImplementor session)
Object
NonAggregatedIdentifierMappingImpl. disassemble(Object value, SharedSessionContractImplementor session)
Object
PluralAttributeMappingImpl. disassemble(Object value, SharedSessionContractImplementor session)
Object
SimpleForeignKeyDescriptor. disassemble(Object value, SharedSessionContractImplementor session)
Object
SimpleNaturalIdMapping. disassemble(Object value, SharedSessionContractImplementor session)
Object
ToOneAttributeMapping. disassemble(Object value, SharedSessionContractImplementor session)
<X,Y>
intAbstractDiscriminatorMapping. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intAbstractEmbeddableMapping. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intAnyDiscriminatorPart. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intAnyKeyPart. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intBasicAttributeMapping. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intBasicEntityIdentifierMappingImpl. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intBasicValuedCollectionPart. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intCollectionIdentifierDescriptorImpl. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intCompoundNaturalIdMapping. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intDiscriminatedAssociationAttributeMapping. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intDiscriminatedCollectionPart. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intEmbeddedForeignKeyDescriptor. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intEntityRowIdMappingImpl. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intEntityVersionMappingImpl. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intIdClassEmbeddable. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intPluralAttributeMappingImpl. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intSimpleForeignKeyDescriptor. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intSimpleNaturalIdMapping. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intToOneAttributeMapping. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intAbstractEmbeddableMapping. forEachJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intAnyKeyPart. forEachJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intCompoundNaturalIdMapping. forEachJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intInverseNonAggregatedIdentifierMapping. forEachJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intNonAggregatedIdentifierMappingImpl. forEachJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intSimpleForeignKeyDescriptor. forEachJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intSimpleNaturalIdMapping. forEachJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intToOneAttributeMapping. forEachJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> consumer, SharedSessionContractImplementor session)
Object
EmbeddedForeignKeyDescriptor. getAssociationKeyFromSide(Object targetObject, ForeignKeyDescriptor.Side side, SharedSessionContractImplementor session)
Object
SimpleForeignKeyDescriptor. getAssociationKeyFromSide(Object targetObject, ForeignKeyDescriptor.Side side, SharedSessionContractImplementor session)
Object
IdClassEmbeddable. getIdentifier(Object entity, SharedSessionContractImplementor session)
Object
VirtualIdEmbeddable. getIdentifier(Object entity, SharedSessionContractImplementor session)
void
GeneratedValuesProcessor. processGeneratedValues(Object entity, Object id, Object[] state, SharedSessionContractImplementor session)
Obtain the generated values, and populate the snapshot and the fields of the entity instance.void
BasicEntityIdentifierMappingImpl. setIdentifier(Object entity, Object id, SharedSessionContractImplementor session)
void
EmbeddedIdentifierMappingImpl. setIdentifier(Object entity, Object id, SharedSessionContractImplementor session)
void
IdClassEmbeddable. setIdentifier(Object entity, Object id, SharedSessionContractImplementor session)
void
InverseNonAggregatedIdentifierMapping. setIdentifier(Object entity, Object id, SharedSessionContractImplementor session)
void
NonAggregatedIdentifierMappingImpl. setIdentifier(Object entity, Object id, SharedSessionContractImplementor session)
void
VirtualIdEmbeddable. setIdentifier(Object entity, Object id, SharedSessionContractImplementor session)
void
CompoundNaturalIdMapping. verifyFlushState(Object id, Object[] currentState, Object[] loadedState, SharedSessionContractImplementor session)
void
SimpleNaturalIdMapping. verifyFlushState(Object id, Object[] currentState, Object[] loadedState, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.metamodel.model.domain.internal
-
Uses of SharedSessionContractImplementor in org.hibernate.persister.collection
Methods in org.hibernate.persister.collection with parameters of type SharedSessionContractImplementor Modifier and Type Method Description protected CollectionLoader
AbstractCollectionPersister. createSubSelectLoader(SubselectFetch subselect, SharedSessionContractImplementor session)
void
BasicCollectionPersister. deleteRows(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session)
void
CollectionPersister. deleteRows(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session)
Delete the persistent state of any elements that were removed from the collectionvoid
OneToManyPersister. deleteRows(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session)
protected CollectionLoader
AbstractCollectionPersister. determineLoaderToUse(Object key, SharedSessionContractImplementor session)
protected abstract void
AbstractCollectionPersister. doProcessQueuedOps(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session)
protected void
BasicCollectionPersister. doProcessQueuedOps(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session)
protected void
OneToManyPersister. doProcessQueuedOps(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session)
boolean
AbstractCollectionPersister. elementExists(Object key, Object element, SharedSessionContractImplementor session)
boolean
CollectionPersister. elementExists(Object key, Object element, SharedSessionContractImplementor session)
Object
AbstractCollectionPersister. getElementByIndex(Object key, Object index, SharedSessionContractImplementor session, Object owner)
Object
CollectionPersister. getElementByIndex(Object key, Object index, SharedSessionContractImplementor session, Object owner)
int
AbstractCollectionPersister. getSize(Object key, SharedSessionContractImplementor session)
int
CollectionPersister. getSize(Object key, SharedSessionContractImplementor session)
boolean
AbstractCollectionPersister. indexExists(Object key, Object index, SharedSessionContractImplementor session)
boolean
CollectionPersister. indexExists(Object key, Object index, SharedSessionContractImplementor session)
void
AbstractCollectionPersister. initialize(Object key, SharedSessionContractImplementor session)
void
CollectionPersister. initialize(Object key, SharedSessionContractImplementor session)
Initialize the given collection with the given keyvoid
BasicCollectionPersister. insertRows(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session)
void
CollectionPersister. insertRows(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session)
Insert the persistent state of any new collection elementsvoid
OneToManyPersister. insertRows(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session)
boolean
AbstractCollectionPersister. isAffectedByEnabledFilters(SharedSessionContractImplementor session)
boolean
CollectionPersister. isAffectedByEnabledFilters(SharedSessionContractImplementor session)
void
AbstractCollectionPersister. processQueuedOps(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session)
void
CollectionPersister. processQueuedOps(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session)
Process queued operations within the PersistentCollection.void
BasicCollectionPersister. recreate(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session)
void
CollectionPersister. recreate(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session)
(Re)create the collection's persistent statevoid
OneToManyPersister. recreate(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session)
void
AbstractCollectionPersister. remove(Object id, SharedSessionContractImplementor session)
void
CollectionPersister. remove(Object id, SharedSessionContractImplementor session)
Completely remove the persistent state of the collectionvoid
BasicCollectionPersister. updateRows(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session)
void
CollectionPersister. updateRows(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session)
Update the persistent state of any elements that were modifiedvoid
OneToManyPersister. updateRows(PersistentCollection<?> collection, Object id, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.persister.collection.mutation
Methods in org.hibernate.persister.collection.mutation with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
RowMutationOperations.Restrictions. applyRestrictions(PersistentCollection<?> collection, Object key, Object rowValue, int rowPosition, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings)
void
RowMutationOperations.Values. applyValues(PersistentCollection<?> collection, Object key, Object rowValue, int rowPosition, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings)
void
RemoveCoordinator. deleteAllRows(Object key, SharedSessionContractImplementor session)
Delete all rows based on the collection-keyvoid
RemoveCoordinatorNoOp. deleteAllRows(Object key, SharedSessionContractImplementor session)
void
RemoveCoordinatorStandard. deleteAllRows(Object key, SharedSessionContractImplementor session)
void
RemoveCoordinatorTablePerSubclass. deleteAllRows(Object key, SharedSessionContractImplementor session)
void
DeleteRowsCoordinator. deleteRows(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session)
Perform the deletionsvoid
DeleteRowsCoordinatorNoOp. deleteRows(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session)
void
DeleteRowsCoordinatorStandard. deleteRows(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session)
void
DeleteRowsCoordinatorTablePerSubclass. deleteRows(PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session)
protected abstract int
AbstractUpdateRowsCoordinator. doUpdate(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
protected int
UpdateRowsCoordinatorOneToMany. doUpdate(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
protected int
UpdateRowsCoordinatorStandard. doUpdate(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
protected int
UpdateRowsCoordinatorTablePerSubclass. doUpdate(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
void
InsertRowsCoordinator. insertRows(PersistentCollection<?> collection, Object id, InsertRowsCoordinator.EntryFilter entryChecker, SharedSessionContractImplementor session)
Perform the creation.void
InsertRowsCoordinatorNoOp. insertRows(PersistentCollection<?> collection, Object id, InsertRowsCoordinator.EntryFilter entryChecker, SharedSessionContractImplementor session)
void
InsertRowsCoordinatorStandard. insertRows(PersistentCollection<?> collection, Object id, InsertRowsCoordinator.EntryFilter entryChecker, SharedSessionContractImplementor session)
void
InsertRowsCoordinatorTablePerSubclass. insertRows(PersistentCollection<?> collection, Object id, InsertRowsCoordinator.EntryFilter entryChecker, SharedSessionContractImplementor session)
void
AbstractUpdateRowsCoordinator. updateRows(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
void
UpdateRowsCoordinator. updateRows(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
void
UpdateRowsCoordinatorNoOp. updateRows(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity that return SharedSessionContractImplementor Modifier and Type Method Description SharedSessionContractImplementor
SessionFactoryBasedWrapperOptions. getSession()
Methods in org.hibernate.persister.entity with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
DiscriminatorType. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.default void
EntityPersister. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
AbstractEntityPersister. afterInitialize(Object entity, SharedSessionContractImplementor session)
void
EntityPersister. afterInitialize(Object entity, SharedSessionContractImplementor session)
Called just after the entities properties have been initializedvoid
AbstractEntityPersister. afterReassociate(Object entity, SharedSessionContractImplementor session)
void
EntityPersister. afterReassociate(Object entity, SharedSessionContractImplementor session)
Called just after the entity has been reassociated with the sessiondefault <X,Y>
intEntityPersister. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
CacheEntry
AbstractEntityPersister. buildCacheEntry(Object entity, Object[] state, Object version, SharedSessionContractImplementor session)
CacheEntry
AbstractEntityPersister.CacheEntryHelper. buildCacheEntry(Object entity, Object[] state, Object version, SharedSessionContractImplementor session)
CacheEntry
EntityPersister. buildCacheEntry(Object entity, Object[] state, Object version, SharedSessionContractImplementor session)
Object
AbstractEntityPersister. createProxy(Object id, SharedSessionContractImplementor session)
Object
EntityPersister. createProxy(Object id, SharedSessionContractImplementor session)
Create a new proxy instance@org.hibernate.Remove int
AbstractEntityPersister. dehydrate(Object id, Object[] fields, Object rowId, boolean[] includeProperty, boolean[][] includeColumns, int j, PreparedStatement ps, SharedSessionContractImplementor session, int index, boolean isUpdate)
Deprecated, for removal: This API element is subject to removal in a future version.No longer used.void
AbstractEntityPersister. delete(Object id, Object version, Object object, SharedSessionContractImplementor session)
Delete an objectvoid
EntityPersister. delete(Object id, Object version, Object object, SharedSessionContractImplementor session)
Delete a persistent instanceObject
AbstractEntityPersister. disassemble(Object value, SharedSessionContractImplementor session)
Object
DiscriminatorType. disassemble(Object value, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.T
DiscriminatorType. extract(CallableStatement statement, int paramIndex, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.T
DiscriminatorType. extract(CallableStatement statement, String paramName, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.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(Object id, Object currentVersion, boolean batching, SharedSessionContractImplementor session)
Object
AbstractEntityPersister. forceVersionIncrement(Object id, Object currentVersion, SharedSessionContractImplementor session)
default Object
EntityPersister. forceVersionIncrement(Object id, Object currentVersion, boolean batching, SharedSessionContractImplementor session)
Object
EntityPersister. forceVersionIncrement(Object id, Object currentVersion, SharedSessionContractImplementor session)
<X,Y>
intAbstractEntityPersister. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intAbstractEntityPersister. forEachJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> consumer, SharedSessionContractImplementor session)
Object
AbstractEntityPersister. getCollectionKey(CollectionPersister persister, Object owner, EntityEntry ownerEntry, SharedSessionContractImplementor session)
Object
AbstractEntityPersister. getCurrentVersion(Object id, SharedSessionContractImplementor session)
Retrieve the version numberObject
EntityPersister. getCurrentVersion(Object 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(Object id, SharedSessionContractImplementor session)
Object[]
EntityPersister. getDatabaseSnapshot(Object id, SharedSessionContractImplementor session)
Get the current database state of the object, in a "hydrated" form, without resolving identifiers.Object
AbstractEntityPersister. getIdByUniqueKey(Object key, String uniquePropertyName, SharedSessionContractImplementor session)
Object
EntityPersister. getIdByUniqueKey(Object key, String uniquePropertyName, SharedSessionContractImplementor session)
Object
AbstractEntityPersister. getIdentifier(Object entity, SharedSessionContractImplementor session)
Object
EntityPersister. getIdentifier(Object entity, SharedSessionContractImplementor session)
Get the identifier of an instance from the object's identifier property.Object
AbstractEntityPersister. getNaturalIdentifierSnapshot(Object id, SharedSessionContractImplementor session)
Object
EntityPersister. getNaturalIdentifierSnapshot(Object id, SharedSessionContractImplementor session)
Retrieve the current state of the natural-id properties from the database.Object[]
AbstractEntityPersister. getPropertyValuesToInsert(Object entity, Map<Object,Object> mergeMap, SharedSessionContractImplementor session)
Object[]
EntityPersister. getPropertyValuesToInsert(Object object, Map<Object,Object> mergeMap, SharedSessionContractImplementor session)
Return the values of the insertable properties of the object (including backrefs)Object
AbstractEntityPersister. initializeEnhancedEntityUsedAsProxy(Object entity, String nameOfAttributeBeingAccessed, SharedSessionContractImplementor session)
default Object
EntityPersister. initializeEnhancedEntityUsedAsProxy(Object entity, String nameOfAttributeBeingAccessed, SharedSessionContractImplementor session)
Called fromEnhancementAsProxyLazinessInterceptor
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(Object entity, Object id, EntityEntry entry, String fieldName, SharedSessionContractImplementor session)
Object
AbstractEntityPersister. initializeLazyProperty(String fieldName, Object entity, SharedSessionContractImplementor session)
Object
AbstractEntityPersister. insert(Object[] fields, Object object, SharedSessionContractImplementor session)
void
AbstractEntityPersister. insert(Object id, Object[] fields, Object object, SharedSessionContractImplementor session)
Object
EntityPersister. insert(Object[] fields, Object object, SharedSessionContractImplementor session)
Persist an instance, using a natively generated identifier (optional operation)void
EntityPersister. insert(Object id, Object[] fields, Object object, SharedSessionContractImplementor session)
Persist an instanceObject
AbstractEntityPersister. instantiate(Object id, SharedSessionContractImplementor session)
Object
EntityPersister. instantiate(Object id, SharedSessionContractImplementor session)
Create a class instance initialized with the given identifierboolean
DiscriminatorType. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.Boolean
AbstractEntityPersister. isTransient(Object entity, SharedSessionContractImplementor session)
Boolean
EntityPersister. isTransient(Object object, SharedSessionContractImplementor session)
Is this a new transient instance?protected void
AbstractEntityPersister. linkToSession(Object entity, SharedSessionContractImplementor session)
Object
AbstractEntityPersister. load(Object id, Object optionalObject, LockMode lockMode, SharedSessionContractImplementor session)
Load an instance using either theforUpdateLoader
or the outer joiningloader
, depending upon the value of thelock
parameterObject
AbstractEntityPersister. load(Object id, Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session)
Load an instance using either theforUpdateLoader
or the outer joiningloader
, depending upon the value of thelock
parameterObject
AbstractEntityPersister. load(Object id, Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session, Boolean readOnly)
Object
EntityPersister. load(Object id, Object optionalObject, LockMode lockMode, SharedSessionContractImplementor session)
Load an instance of the persistent class.default Object
EntityPersister. load(Object id, Object optionalObject, LockMode lockMode, SharedSessionContractImplementor session, Boolean readOnly)
Object
EntityPersister. load(Object id, Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session)
Load an instance of the persistent class.default Object
EntityPersister. load(Object id, Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session, Boolean readOnly)
Object
AbstractEntityPersister. loadByUniqueKey(String propertyName, Object uniqueKey, Boolean readOnly, SharedSessionContractImplementor session)
Object
AbstractEntityPersister. loadByUniqueKey(String propertyName, Object uniqueKey, SharedSessionContractImplementor session)
default Object
EntityPersister. loadByUniqueKey(String propertyName, Object uniqueKey, SharedSessionContractImplementor session)
Object
UniqueKeyLoadable. loadByUniqueKey(String propertyName, Object uniqueKey, SharedSessionContractImplementor session)
Deprecated.Load an instance of the persistent class, by a unique key other than the primary key.Object
AbstractEntityPersister. loadEntityIdByNaturalId(Object[] naturalIdValues, LockOptions lockOptions, SharedSessionContractImplementor session)
Object
EntityPersister. loadEntityIdByNaturalId(Object[] naturalIdValues, LockOptions lockOptions, SharedSessionContractImplementor session)
Load the id for the entity based on the natural id.void
DiscriminatorType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.void
DiscriminatorType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.void
AbstractEntityPersister. processInsertGeneratedProperties(Object id, Object entity, Object[] state, SharedSessionContractImplementor session)
void
EntityPersister. processInsertGeneratedProperties(Object 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 thePersistenceContext
.void
AbstractEntityPersister. processUpdateGeneratedProperties(Object id, Object entity, Object[] state, SharedSessionContractImplementor session)
void
EntityPersister. processUpdateGeneratedProperties(Object 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 thePersistenceContext
.Object
DiscriminatorType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache)
Deprecated, for removal: This API element is subject to removal in a future version.void
AbstractEntityPersister. resetIdentifier(Object entity, Object currentId, Object currentVersion, SharedSessionContractImplementor session)
void
EntityPersister. resetIdentifier(Object entity, Object currentId, Object currentVersion, SharedSessionContractImplementor session)
Set the identifier and version of the given instance back to its "unsaved" value, that is, the value it had before it was made persistent.void
AbstractEntityPersister. setIdentifier(Object entity, Object id, SharedSessionContractImplementor session)
void
EntityPersister. setIdentifier(Object entity, Object id, SharedSessionContractImplementor session)
Inject the identifier value into the given entity.void
AbstractEntityPersister. update(Object id, Object[] values, int[] dirtyAttributeIndexes, boolean hasDirtyCollection, Object[] oldValues, Object oldVersion, Object object, Object rowId, SharedSessionContractImplementor session)
Update an objectvoid
EntityPersister. update(Object id, Object[] fields, int[] dirtyFields, boolean hasDirtyCollection, Object[] oldFields, Object oldVersion, Object object, Object rowId, SharedSessionContractImplementor session)
Update a persistent instance -
Uses of SharedSessionContractImplementor in org.hibernate.persister.entity.mutation
Methods in org.hibernate.persister.entity.mutation with parameters of type SharedSessionContractImplementor Modifier and Type Method Description protected void
DeleteCoordinator. applyId(Object id, Object rowId, MutationExecutor mutationExecutor, MutationOperationGroup operationGroup, SharedSessionContractImplementor session)
protected void
DeleteCoordinator. applyLocking(Object version, Object[] loadedState, MutationExecutor mutationExecutor, SharedSessionContractImplementor session)
protected void
DeleteCoordinator. applyNonVersionOptLocking(OptimisticLockStyle lockStyle, MutationGroupBuilder mutationGroupBuilder, Object[] loadedState, SharedSessionContractImplementor session)
protected void
DeleteCoordinator. applyOptimisticLocking(MutationGroupBuilder mutationGroupBuilder, Object[] loadedState, SharedSessionContractImplementor session)
protected void
AbstractMutationCoordinator. bindPartitionColumnValueBindings(Object[] loadedState, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings)
protected void
InsertCoordinator. breakDownJdbcValue(Object id, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings, EntityTableMapping tableDetails)
void
EntityTableMapping.KeyMapping. breakDownKeyJdbcValues(Object domainValue, EntityTableMapping.KeyValueConsumer valueConsumer, SharedSessionContractImplementor session)
void
DeleteCoordinator. coordinateDelete(Object entity, Object id, Object version, SharedSessionContractImplementor session)
Object
InsertCoordinator. coordinateInsert(Object id, Object[] values, Object entity, SharedSessionContractImplementor session)
Perform the insert(s).void
UpdateCoordinator. coordinateUpdate(Object entity, Object id, Object rowId, Object[] values, Object oldVersion, Object[] incomingOldValues, int[] dirtyAttributeIndexes, boolean hasDirtyCollection, SharedSessionContractImplementor session)
void
UpdateCoordinatorNoOp. coordinateUpdate(Object entity, Object id, Object rowId, Object[] values, Object oldVersion, Object[] incomingOldValues, int[] dirtyAttributeIndexes, boolean hasDirtyCollection, SharedSessionContractImplementor session)
void
UpdateCoordinatorStandard. coordinateUpdate(Object entity, Object id, Object rowId, Object[] values, Object oldVersion, Object[] incomingOldValues, int[] incomingDirtyAttributeIndexes, boolean hasDirtyCollection, SharedSessionContractImplementor session)
protected void
InsertCoordinator. decomposeAttribute(Object value, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings, AttributeMapping mapping)
protected void
InsertCoordinator. decomposeForInsert(MutationExecutor mutationExecutor, Object id, Object[] values, MutationOperationGroup mutationGroup, boolean[] propertyInclusions, TableInclusionChecker tableInclusionChecker, SharedSessionContractImplementor session)
protected void
UpdateCoordinatorStandard. decomposeForUpdate(Object id, Object rowId, Object[] values, UpdateCoordinatorStandard.UpdateValuesAnalysisImpl valuesAnalysis, MutationExecutor mutationExecutor, MutationOperationGroup jdbcOperationGroup, UpdateCoordinatorStandard.DirtinessChecker dirtinessChecker, SharedSessionContractImplementor session)
protected void
DeleteCoordinator. doDynamicDelete(Object entity, Object id, Object rowId, Object[] loadedState, SharedSessionContractImplementor session)
protected Object
InsertCoordinator. doDynamicInserts(Object id, Object[] values, Object object, SharedSessionContractImplementor session)
protected void
UpdateCoordinatorStandard. doDynamicUpdate(Object entity, Object id, Object rowId, Object[] values, Object[] oldValues, UpdateCoordinatorStandard.InclusionChecker dirtinessChecker, UpdateCoordinatorStandard.UpdateValuesAnalysisImpl valuesAnalysis, SharedSessionContractImplementor session)
protected void
DeleteCoordinator. doStaticDelete(Object entity, Object id, Object[] loadedState, Object version, SharedSessionContractImplementor session)
protected Object
InsertCoordinator. doStaticInserts(Object id, Object[] values, Object object, SharedSessionContractImplementor session)
protected void
UpdateCoordinatorStandard. doStaticUpdate(Object entity, Object id, Object rowId, Object[] values, Object[] oldValues, UpdateCoordinatorStandard.UpdateValuesAnalysisImpl valuesAnalysis, SharedSessionContractImplementor session)
protected void
UpdateCoordinatorStandard. doVersionUpdate(Object entity, Object id, Object version, Object oldVersion, boolean batching, SharedSessionContractImplementor session)
protected void
UpdateCoordinatorStandard. doVersionUpdate(Object entity, Object id, Object version, Object oldVersion, SharedSessionContractImplementor session)
default void
UpdateCoordinator. forceVersionIncrement(Object id, Object currentVersion, Object nextVersion, boolean batching, SharedSessionContractImplementor session)
void
UpdateCoordinator. forceVersionIncrement(Object id, Object currentVersion, Object nextVersion, SharedSessionContractImplementor session)
void
UpdateCoordinatorNoOp. forceVersionIncrement(Object id, Object currentVersion, Object nextVersion, SharedSessionContractImplementor session)
void
UpdateCoordinatorStandard. forceVersionIncrement(Object id, Object currentVersion, Object nextVersion, boolean batching, SharedSessionContractImplementor session)
void
UpdateCoordinatorStandard. forceVersionIncrement(Object id, Object currentVersion, Object nextVersion, SharedSessionContractImplementor session)
protected MutationOperationGroup
UpdateCoordinatorStandard. generateDynamicUpdateGroup(Object id, Object rowId, Object[] oldValues, UpdateCoordinatorStandard.UpdateValuesAnalysisImpl valuesAnalysis, SharedSessionContractImplementor session)
protected MutationOperationGroup
DeleteCoordinator. generateOperationGroup(Object[] loadedState, boolean applyVersion, SharedSessionContractImplementor session)
protected boolean
UpdateCoordinatorStandard. handlePotentialImplicitForcedVersionIncrement(Object entity, Object id, Object[] values, Object oldVersion, int[] incomingDirtyAttributeIndexes, SharedSessionContractImplementor session, EntityVersionMapping versionMapping)
protected void
UpdateCoordinatorStandard. performUpdate(Object entity, Object id, Object rowId, Object[] values, Object oldVersion, Object[] incomingOldValues, boolean hasDirtyCollection, SharedSessionContractImplementor session, EntityVersionMapping versionMapping, int[] dirtyAttributeIndexes, boolean[] attributeUpdateability, boolean forceDynamicUpdate)
protected void
InsertCoordinator. preInsertInMemoryValueGeneration(Object[] values, Object entity, SharedSessionContractImplementor session)
protected BatchKeyAccess
AbstractMutationCoordinator. resolveBatchKeyAccess(boolean dynamicUpdate, SharedSessionContractImplementor session)
protected MutationOperationGroup
DeleteCoordinator. resolveNoVersionDeleteGroup(SharedSessionContractImplementor session)
protected BatchKeyAccess
UpdateCoordinatorStandard. resolveUpdateVersionBatchKeyAccess(boolean dynamicUpdate, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.pretty
Methods in org.hibernate.pretty with parameters of type SharedSessionContractImplementor Modifier and Type Method Description static String
MessageHelper. collectionInfoString(@Nullable CollectionPersister persister, @Nullable PersistentCollection<?> collection, Object collectionKey, SharedSessionContractImplementor session)
Generate an info message string relating to a particular managed collection. -
Uses of SharedSessionContractImplementor in org.hibernate.procedure.internal
Constructors in org.hibernate.procedure.internal with parameters of type SharedSessionContractImplementor Constructor Description ProcedureCallImpl(SharedSessionContractImplementor session, String procedureName)
The no-returns form.ProcedureCallImpl(SharedSessionContractImplementor session, String procedureName, Class<?>... resultClasses)
The result Class(es) return formProcedureCallImpl(SharedSessionContractImplementor session, String procedureName, String... resultSetMappingNames)
The result-set-mapping(s) return formProcedureCallImpl(SharedSessionContractImplementor session, NamedCallableQueryMementoImpl memento, String... resultSetMappingNames)
ProcedureParameterMetadataImpl(NamedCallableQueryMemento memento, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.procedure.spi
Methods in org.hibernate.procedure.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description ProcedureCall
NamedCallableQueryMemento. makeProcedureCall(SharedSessionContractImplementor session)
Convert the memento back into an executable (connected) form.ProcedureCall
NamedCallableQueryMemento. makeProcedureCall(SharedSessionContractImplementor session, Class<?>... resultSetJavaTypes)
Convert the memento back into an executable (connected) form.ProcedureCall
NamedCallableQueryMemento. makeProcedureCall(SharedSessionContractImplementor session, String... resultSetMappingNames)
Convert the memento back into an executable (connected) form.void
CallableStatementSupport. registerParameters(String procedureName, JdbcOperationQueryCall procedureCall, CallableStatement statement, ProcedureParameterMetadataImplementor parameterMetadata, SharedSessionContractImplementor session)
ProcedureParameterImplementor<?>
NamedCallableQueryMemento.ParameterMemento. resolve(SharedSessionContractImplementor session)
JdbcCallFunctionReturn
FunctionReturnImplementor. toJdbcFunctionReturn(SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.property.access.internal
Methods in org.hibernate.property.access.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
ChainedPropertyAccessImpl. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)
Object
PropertyAccessCompositeUserTypeImpl. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)
Object
PropertyAccessMapImpl.GetterImpl. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.property.access.spi
Methods in org.hibernate.property.access.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
Getter. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)
Get the property value from the given owner instance.Object
GetterFieldImpl. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)
Object
GetterMethodImpl. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.proxy
Methods in org.hibernate.proxy that return SharedSessionContractImplementor Modifier and Type Method Description SharedSessionContractImplementor
AbstractLazyInitializer. getSession()
SharedSessionContractImplementor
LazyInitializer. getSession()
Get the session to which this proxy is associated, or null if it is not attached.Methods in org.hibernate.proxy with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
AbstractLazyInitializer. getImplementation(SharedSessionContractImplementor s)
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.HibernateProxy
ProxyFactory. getProxy(Object id, SharedSessionContractImplementor session)
Create a new proxy instancevoid
AbstractLazyInitializer. setSession(SharedSessionContractImplementor s)
void
LazyInitializer. setSession(SharedSessionContractImplementor session)
Associate the proxy with the given session.Constructors in org.hibernate.proxy with parameters of type SharedSessionContractImplementor Constructor Description AbstractLazyInitializer(String entityName, Object id, SharedSessionContractImplementor session)
Main constructor. -
Uses of SharedSessionContractImplementor in org.hibernate.proxy.map
Methods in org.hibernate.proxy.map with parameters of type SharedSessionContractImplementor Modifier and Type Method Description HibernateProxy
MapProxyFactory. getProxy(Object id, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.proxy.pojo
Constructors in org.hibernate.proxy.pojo with parameters of type SharedSessionContractImplementor Constructor Description BasicLazyInitializer(String entityName, Class<?> persistentClass, Object id, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, SharedSessionContractImplementor session, boolean overridesEquals)
-
Uses of SharedSessionContractImplementor in org.hibernate.proxy.pojo.bytebuddy
Methods in org.hibernate.proxy.pojo.bytebuddy with parameters of type SharedSessionContractImplementor Modifier and Type Method Description HibernateProxy
ByteBuddyProxyFactory. getProxy(Object id, SharedSessionContractImplementor session)
Constructors in org.hibernate.proxy.pojo.bytebuddy with parameters of type SharedSessionContractImplementor Constructor Description ByteBuddyInterceptor(String entityName, Class<?> persistentClass, Class<?>[] interfaces, Object id, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, SharedSessionContractImplementor session, boolean overridesEquals)
-
Uses of SharedSessionContractImplementor in org.hibernate.query
Methods in org.hibernate.query with parameters of type SharedSessionContractImplementor Modifier and Type Method Description J
OutputableType. extract(CallableStatement statement, int paramIndex, SharedSessionContractImplementor session)
Perform the extractionJ
OutputableType. extract(CallableStatement statement, String paramName, SharedSessionContractImplementor session)
Perform the extraction -
Uses of SharedSessionContractImplementor in org.hibernate.query.criteria.internal
Methods in org.hibernate.query.criteria.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description <T> SqmQueryImplementor<T>
NamedCriteriaQueryMementoImpl. toQuery(SharedSessionContractImplementor session)
<T> SqmQueryImplementor<T>
NamedCriteriaQueryMementoImpl. toQuery(SharedSessionContractImplementor session, Class<T> resultType)
<T> SqmSelectionQuery<T>
NamedCriteriaQueryMementoImpl. toSelectionQuery(Class<T> resultType, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.query.derived
Methods in org.hibernate.query.derived with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
AnonymousTupleBasicValuedModelPart. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
AnonymousTupleEmbeddableValuedModelPart. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
AnonymousTupleEntityValuedModelPart. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
void
AnonymousTupleTableGroupProducer. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
<X,Y>
intAnonymousTupleBasicValuedModelPart. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intAnonymousTupleEmbeddableValuedModelPart. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intAnonymousTupleEntityValuedModelPart. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intAnonymousTupleTableGroupProducer. breakDownJdbcValues(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
<X,Y>
intAnonymousTupleEmbeddableValuedModelPart. decompose(Object domainValue, int offset, X x, Y y, ModelPart.JdbcValueBiConsumer<X,Y> valueConsumer, SharedSessionContractImplementor session)
Object
AnonymousTupleBasicValuedModelPart. disassemble(Object value, SharedSessionContractImplementor session)
Object
AnonymousTupleEmbeddableValuedModelPart. disassemble(Object value, SharedSessionContractImplementor session)
Object
AnonymousTupleEntityValuedModelPart. disassemble(Object value, SharedSessionContractImplementor session)
Object
AnonymousTupleTableGroupProducer. disassemble(Object value, SharedSessionContractImplementor session)
<X,Y>
intAnonymousTupleBasicValuedModelPart. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intAnonymousTupleEmbeddableValuedModelPart. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intAnonymousTupleEntityValuedModelPart. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intAnonymousTupleTableGroupProducer. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intAnonymousTupleBasicValuedModelPart. forEachJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
<X,Y>
intAnonymousTupleEmbeddableValuedModelPart. forEachJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> consumer, SharedSessionContractImplementor session)
<X,Y>
intAnonymousTupleEntityValuedModelPart. forEachJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> consumer, SharedSessionContractImplementor session)
Object
AnonymousTupleEntityValuedModelPart. loadByUniqueKey(String propertyName, Object uniqueKey, SharedSessionContractImplementor session)
void
AnonymousTupleBasicEntityIdentifierMapping. setIdentifier(Object entity, Object id, SharedSessionContractImplementor session)
void
AnonymousTupleEmbeddedEntityIdentifierMapping. setIdentifier(Object entity, Object id, SharedSessionContractImplementor session)
void
AnonymousTupleNonAggregatedEntityIdentifierMapping. setIdentifier(Object entity, Object id, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.query.hql.internal
Methods in org.hibernate.query.hql.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description <T> SqmQueryImplementor<T>
NamedHqlQueryMementoImpl. toQuery(SharedSessionContractImplementor session)
<T> SqmQueryImplementor<T>
NamedHqlQueryMementoImpl. toQuery(SharedSessionContractImplementor session, Class<T> resultType)
<T> SqmSelectionQuery<T>
NamedHqlQueryMementoImpl. toSelectionQuery(Class<T> resultType, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.query.internal
Methods in org.hibernate.query.internal that return SharedSessionContractImplementor Modifier and Type Method Description SharedSessionContractImplementor
DelegatingDomainQueryExecutionContext. getSession()
Methods in org.hibernate.query.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description QueryKey.ParameterBindingsMemento
QueryParameterBindingsImpl. generateQueryKeyMemento(SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.query.named
Methods in org.hibernate.query.named with parameters of type SharedSessionContractImplementor Modifier and Type Method Description QueryParameterImplementor
NamedQueryMemento.ParameterMemento. resolve(SharedSessionContractImplementor session)
<T> QueryImplementor<T>
NamedQueryMemento. toQuery(SharedSessionContractImplementor session)
<T> QueryImplementor<T>
NamedQueryMemento. toQuery(SharedSessionContractImplementor session, Class<T> javaType)
-
Uses of SharedSessionContractImplementor in org.hibernate.query.spi
Methods in org.hibernate.query.spi that return SharedSessionContractImplementor Modifier and Type Method Description SharedSessionContractImplementor
AbstractCommonQueryContract. getSession()
SharedSessionContractImplementor
DomainQueryExecutionContext. getSession()
The underlying sessionSharedSessionContractImplementor
QueryImplementor. getSession()
Methods in org.hibernate.query.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description QueryKey.ParameterBindingsMemento
QueryParameterBindings. generateQueryKeyMemento(SharedSessionContractImplementor persistenceContext)
Generate a "memento" for these parameter bindings that can be used in creating aQueryKey
Constructors in org.hibernate.query.spi with parameters of type SharedSessionContractImplementor Constructor Description AbstractCommonQueryContract(SharedSessionContractImplementor session)
AbstractQuery(SharedSessionContractImplementor session)
AbstractSelectionQuery(SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.query.sql.internal
Methods in org.hibernate.query.sql.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description <T> NativeQueryImplementor<T>
NamedNativeQueryMementoImpl. toQuery(SharedSessionContractImplementor session)
<T> NativeQueryImplementor<T>
NamedNativeQueryMementoImpl. toQuery(SharedSessionContractImplementor session, Class<T> resultType)
<T> NativeQueryImplementor<T>
NamedNativeQueryMementoImpl. toQuery(SharedSessionContractImplementor session, String resultSetMappingName)
Constructors in org.hibernate.query.sql.internal with parameters of type SharedSessionContractImplementor Constructor Description NativeQueryImpl(String sqlString, SharedSessionContractImplementor session)
NativeQueryImpl(NamedNativeQueryMemento memento, Class<R> resultJavaType, SharedSessionContractImplementor session)
Constructs a NativeQueryImpl given a sql query defined in the mappings.NativeQueryImpl(NamedNativeQueryMemento memento, String resultSetMappingName, SharedSessionContractImplementor session)
Constructs a NativeQueryImpl given a sql query defined in the mappings.NativeQueryImpl(NamedNativeQueryMemento memento, Supplier<ResultSetMapping> resultSetMappingCreator, org.hibernate.query.sql.internal.NativeQueryImpl.ResultSetMappingHandler resultSetMappingHandler, SharedSessionContractImplementor session)
NativeQueryImpl(NamedNativeQueryMemento memento, SharedSessionContractImplementor session)
Constructs a NativeQueryImpl given a sql query defined in the mappings. -
Uses of SharedSessionContractImplementor in org.hibernate.query.sql.spi
Methods in org.hibernate.query.sql.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description ParameterMetadataImplementor
ParameterInterpretation. toParameterMetadata(SharedSessionContractImplementor session)
Create the ParameterMetadata representation of this interpretation<T> NativeQueryImplementor<T>
NamedNativeQueryMemento. toQuery(SharedSessionContractImplementor session)
Convert the memento into an untyped executable query<T> NativeQueryImplementor<T>
NamedNativeQueryMemento. toQuery(SharedSessionContractImplementor session, Class<T> resultType)
Convert the memento into a typed executable query<T> NativeQueryImplementor<T>
NamedNativeQueryMemento. toQuery(SharedSessionContractImplementor session, String resultSetMapping)
Convert the memento into a typed executable query -
Uses of SharedSessionContractImplementor in org.hibernate.query.sqm.internal
Methods in org.hibernate.query.sqm.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description static JdbcParameterBindings
SqmUtil. createJdbcParameterBindings(QueryParameterBindings domainParamBindings, DomainParameterXref domainParameterXref, Map<QueryParameterImplementor<?>,Map<SqmParameter<?>,List<JdbcParametersList>>> jdbcParamXref, MappingMetamodel domainModel, Function<NavigablePath,TableGroup> tableGroupLocator, SqmParameterMappingModelResolutionAccess mappingModelResolutionAccess, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.query.sqm.mutation.internal
Methods in org.hibernate.query.sqm.mutation.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description static Predicate
SqmMutationStrategyHelper. getIdSubqueryPredicate(Predicate predicate, EntityMappingType entityDescriptor, TableGroup tableGroup, SharedSessionContractImplementor session)
Translates the original delete predicate to be used in the id subquery forcing the use of the table alias qualifier -
Uses of SharedSessionContractImplementor in org.hibernate.query.sqm.mutation.internal.temptable
Methods in org.hibernate.query.sqm.mutation.internal.temptable that return types with arguments of type SharedSessionContractImplementor Modifier and Type Method Description protected Function<SharedSessionContractImplementor,String>
TableBasedDeleteHandler. getSessionUidAccess()
protected Function<SharedSessionContractImplementor,String>
UpdateExecutionDelegate. getSessionUidAccess()
-