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 an entity persister or collection persister.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.internal This package defines a default set of event listeners that implement the default behaviors of Hibernate session operations.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.generator.values Contains a framework of strategies for efficient retrieval of database-generated values.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.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.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.descriptor.jdbc Defines handling of almost the full range of standard JDBC-defined SQL data types.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)
static NaturalIdCacheKey
NaturalIdCacheKey. from(Object naturalIdValues, EntityPersister persister, String entityName, SharedSessionContractImplementor session)
static NaturalIdCacheKey
NaturalIdCacheKey. from(Object naturalIdValues, EntityPersister persister, 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)
-
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 session)
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, CollectionPersister persister, CachedDomainDataAccess cacheAccess)
static Object
CacheHelper. fromSharedCache(SharedSessionContractImplementor session, Object cacheKey, EntityPersister persister, boolean isNaturalKey, CachedDomainDataAccess cacheAccess)
static Object
CacheHelper. fromSharedCache(SharedSessionContractImplementor session, Object cacheKey, EntityPersister persister, CachedDomainDataAccess cacheAccess)
static Object
ForeignKeys. getEntityIdentifier(String entityName, Object object, SharedSessionContractImplementor session)
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, @Nullable 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 GeneratedValues
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
BatchFetchQueue. getSession()
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)
void
CollectionEntry. postInitialize(PersistentCollection<?> collection, 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.internal
-
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.default boolean
Generator. generatedOnExecution(Object entity, SharedSessionContractImplementor session)
Determines if the property value is generated when a row is written to the database, or in Java code that executes before the row is written. -
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.generator.values
Methods in org.hibernate.generator.values with parameters of type SharedSessionContractImplementor Modifier and Type Method Description GeneratedValues
GeneratedValuesMutationDelegate. performMutation(PreparedStatementDetails statementDetails, JdbcValueBindings valueBindings, Object entity, SharedSessionContractImplementor session)
Perform themutation
and extract the database-generated values.PreparedStatement
GeneratedValuesMutationDelegate. prepareStatement(String sql, SharedSessionContractImplementor session)
Create aPreparedStatement
from the providedsql
based on the delegate needs. -
Uses of SharedSessionContractImplementor in org.hibernate.id
Methods in org.hibernate.id with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
CompositeNestedGeneratedValueGenerator.GenerationPlan. execute(SharedSessionContractImplementor session, Object incomingObject)
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, for removal: This API element is subject to removal in a future version.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 Object
AbstractReturningDelegate. executeAndExtract(String sql, PreparedStatement preparedStatement, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.No longer usedprotected abstract GeneratedValues
AbstractReturningDelegate. executeAndExtractReturning(String sql, PreparedStatement preparedStatement, SharedSessionContractImplementor session)
GeneratedValues
GetGeneratedKeysDelegate. executeAndExtractReturning(String sql, PreparedStatement preparedStatement, SharedSessionContractImplementor session)
protected GeneratedValues
InsertReturningDelegate. executeAndExtractReturning(String sql, PreparedStatement preparedStatement, SharedSessionContractImplementor session)
GeneratedValues
SybaseJConnGetGeneratedKeysDelegate. executeAndExtractReturning(String sql, PreparedStatement preparedStatement, SharedSessionContractImplementor session)
protected Object
AbstractSelectingDelegate. extractGeneratedValues(ResultSet resultSet, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.No substitute.default Object
InsertGeneratedIdentifierDelegate. performInsert(String insertSQL, SharedSessionContractImplementor session, Binder binder)
Deprecated, for removal: This API element is subject to removal in a future version.Execute the giveninsert
statement and return the generated key value.default Object
InsertGeneratedIdentifierDelegate. performInsert(PreparedStatementDetails insertStatementDetails, JdbcValueBindings valueBindings, Object entity, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.Perform theinsert
and extract the database-generated primary key value.GeneratedValues
AbstractReturningDelegate. performInsertReturning(String sql, SharedSessionContractImplementor session, Binder binder)
GeneratedValues
AbstractSelectingDelegate. performInsertReturning(String sql, SharedSessionContractImplementor session, Binder binder)
GeneratedValues
InsertGeneratedIdentifierDelegate. performInsertReturning(String insertSQL, SharedSessionContractImplementor session, Binder binder)
Deprecated, for removal: This API element is subject to removal in a future version.Execute the giveninsert
statement and return the generated key value.GeneratedValues
AbstractReturningDelegate. performMutation(PreparedStatementDetails statementDetails, JdbcValueBindings valueBindings, Object entity, SharedSessionContractImplementor session)
GeneratedValues
AbstractSelectingDelegate. performMutation(PreparedStatementDetails statementDetails, JdbcValueBindings jdbcValueBindings, Object entity, SharedSessionContractImplementor session)
GeneratedValues
GetGeneratedKeysDelegate. performMutation(PreparedStatementDetails statementDetails, JdbcValueBindings jdbcValueBindings, Object entity, SharedSessionContractImplementor session)
PreparedStatement
AbstractSelectingDelegate. prepareStatement(String insertSql, SharedSessionContractImplementor session)
PreparedStatement
GetGeneratedKeysDelegate. prepareStatement(String sql, SharedSessionContractImplementor session)
PreparedStatement
InsertGeneratedIdentifierDelegate. prepareStatement(String insertSql, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.PreparedStatement
InsertReturningDelegate. prepareStatement(String sql, SharedSessionContractImplementor session)
protected void
AbstractReturningDelegate. releaseStatement(PreparedStatement preparedStatement, 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
UuidValueGenerator. generateUuid(SharedSessionContractImplementor session)
Generate the UUID valueUUID
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)
EntityMappingType
EntityConcreteTypeLoader. getConcreteType(Object id, SharedSessionContractImplementor session)
static Boolean
LoaderHelper. getReadOnlyFromLoadQueryInfluencers(SharedSessionContractImplementor session)
Determine if the influencers associated with the given Session indicate read-onlyprotected abstract void
AbstractEntityBatchLoader. initializeEntities(Object[] idsToInitialize, Object pkValue, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
protected void
EntityBatchLoaderArrayParam. initializeEntities(Object[] idsToInitialize, Object id, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
protected void
EntityBatchLoaderInPredicate. initializeEntities(Object[] idsToInitialize, Object pkValue, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
PersistentCollection<?>
AbstractCollectionBatchLoader. load(Object key, SharedSessionContractImplementor session)
T
AbstractEntityBatchLoader. load(Object id, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
T
AbstractEntityBatchLoader. load(Object id, Object entityInstance, LockOptions lockOptions, SharedSessionContractImplementor session)
T
AbstractNaturalIdLoader. load(Object naturalIdValue, NaturalIdLoadOptions options, SharedSessionContractImplementor session)
PersistentCollection<?>
CollectionBatchLoaderArrayParam. load(Object keyBeingLoaded, 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, 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 abstract Object[]
AbstractEntityBatchLoader. resolveIdsToInitialize(Object id, SharedSessionContractImplementor session)
protected Object[]
EntityBatchLoaderArrayParam. resolveIdsToInitialize(Object pkValue, SharedSessionContractImplementor session)
protected Object[]
EntityBatchLoaderInPredicate. resolveIdsToInitialize(Object id, 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 Object
Component.ValueGenerationPlan. execute(SharedSessionContractImplementor session, Object incomingObject)
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(@Nullable Object one, @Nullable 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)
Breaks down a value ofJ
into its simple pieces.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)
Visit each constituent JDBC value over the result fromBindable.disassemble(java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor)
.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.default EntityMappingType
EntityMappingType. resolveConcreteProxyTypeForId(Object id, SharedSessionContractImplementor session)
If this entity is configured to return concrete-typed proxies, this method queries the entity table(s) do determine the concrete entity type associated with the provided id and returns its persister.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
SoftDeleteMappingImpl. 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
InverseNonAggregatedIdentifierMapping. areEqual(@Nullable Object one, @Nullable Object other, SharedSessionContractImplementor session)
boolean
NonAggregatedIdentifierMappingImpl. areEqual(@Nullable Object one, @Nullable Object other, SharedSessionContractImplementor session)
boolean
VirtualIdEmbeddable. areEqual(@Nullable Object one, @Nullable 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>
intSoftDeleteMappingImpl. 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
SoftDeleteMappingImpl. disassemble(Object value, SharedSessionContractImplementor session)
Object
ToOneAttributeMapping. disassemble(Object value, SharedSessionContractImplementor session)
protected Object
ToOneAttributeMapping. extractValue(Object domainValue, 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>
intSoftDeleteMappingImpl. 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>
intEmbeddableMappingTypeImpl. 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, GeneratedValues generatedValues, 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 objectdefault void
EntityPersister. delete(Object id, Object version, Object object, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.protected SingleIdEntityLoader<?>
AbstractEntityPersister. determineLoaderToUse(SharedSessionContractImplementor session)
Object
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)
Object
JoinedSubclassEntityPersister. forceVersionIncrement(Object id, Object currentVersion, boolean batching, SharedSessionContractImplementor session)
Object
JoinedSubclassEntityPersister. 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)
@Nullable 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)protected SingleUniqueKeyEntityLoader<?>
AbstractEntityPersister. getUniqueKeyLoader(String attributeName, SharedSessionContractImplementor session)
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)
default Object
EntityPersister. insert(Object[] fields, Object object, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.default void
EntityPersister. insert(Object id, Object[] fields, Object object, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.Object
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.default void
EntityPersister. merge(Object id, Object[] fields, int[] dirtyFields, boolean hasDirtyCollection, Object[] oldFields, Object oldVersion, Object object, Object rowId, 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, 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, GeneratedValues generatedValues, SharedSessionContractImplementor session)
default void
EntityPersister. processInsertGeneratedProperties(Object id, Object entity, Object[] state, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.default void
EntityPersister. processInsertGeneratedProperties(Object id, Object entity, Object[] state, GeneratedValues generatedValues, SharedSessionContractImplementor session)
Retrieve the values of any insert generated properties through the providedGeneratedValues
or, when that's not available, by selecting them 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, GeneratedValues generatedValues, SharedSessionContractImplementor session)
default void
EntityPersister. processUpdateGeneratedProperties(Object id, Object entity, Object[] state, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.void
EntityPersister. processUpdateGeneratedProperties(Object id, Object entity, Object[] state, GeneratedValues generatedValues, SharedSessionContractImplementor session)
Retrieve the values of any update generated properties through the providedGeneratedValues
or, when that's not available, by selecting them 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.EntityMappingType
AbstractEntityPersister. resolveConcreteProxyTypeForId(Object id, SharedSessionContractImplementor session)
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.default void
EntityPersister. update(Object id, Object[] fields, int[] dirtyFields, boolean hasDirtyCollection, Object[] oldFields, Object oldVersion, Object object, Object rowId, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version. -
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
AbstractDeleteCoordinator. applyDynamicDeleteTableDetails(Object id, Object rowId, Object[] loadedState, MutationExecutor mutationExecutor, MutationOperationGroup operationGroup, SharedSessionContractImplementor session)
protected void
AbstractDeleteCoordinator. applyId(Object id, Object rowId, MutationExecutor mutationExecutor, MutationOperationGroup operationGroup, SharedSessionContractImplementor session)
protected void
AbstractDeleteCoordinator. applyLocking(Object version, Object[] loadedState, MutationExecutor mutationExecutor, SharedSessionContractImplementor session)
protected void
DeleteCoordinatorSoft. applyNonVersionOptLocking(OptimisticLockStyle lockStyle, TableUpdateBuilderStandard<MutationOperation> tableUpdateBuilder, Object[] loadedState, SharedSessionContractImplementor session)
protected void
DeleteCoordinatorStandard. applyNonVersionOptLocking(OptimisticLockStyle lockStyle, MutationGroupBuilder mutationGroupBuilder, Object[] loadedState, SharedSessionContractImplementor session)
protected void
DeleteCoordinatorSoft. applyOptimisticLocking(TableUpdateBuilderStandard<MutationOperation> tableUpdateBuilder, Object[] loadedState, SharedSessionContractImplementor session)
protected void
DeleteCoordinatorStandard. applyOptimisticLocking(MutationGroupBuilder mutationGroupBuilder, Object[] loadedState, SharedSessionContractImplementor session)
protected void
AbstractDeleteCoordinator. applyStaticDeleteTableDetails(Object id, Object rowId, Object[] loadedState, Object version, boolean applyVersion, MutationExecutor mutationExecutor, SharedSessionContractImplementor session)
protected void
AbstractMutationCoordinator. bindPartitionColumnValueBindings(Object[] loadedState, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings)
protected void
InsertCoordinatorStandard. breakDownJdbcValue(Object id, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings, EntityTableMapping tableDetails)
protected void
AbstractMutationCoordinator. breakDownKeyJdbcValues(Object id, Object rowId, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings, EntityTableMapping tableMapping)
void
EntityTableMapping.KeyMapping. breakDownKeyJdbcValues(Object domainValue, EntityTableMapping.KeyValueConsumer valueConsumer, SharedSessionContractImplementor session)
GeneratedValues
InsertCoordinatorStandard. coordinateInsert(Object id, Object[] values, Object entity, SharedSessionContractImplementor session)
Perform the insert(s).protected void
InsertCoordinatorStandard. decomposeAttribute(Object value, SharedSessionContractImplementor session, JdbcValueBindings jdbcValueBindings, AttributeMapping mapping)
protected void
InsertCoordinatorStandard. 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)
void
AbstractDeleteCoordinator. delete(Object entity, Object id, Object version, SharedSessionContractImplementor session)
void
DeleteCoordinator. delete(Object entity, Object id, Object version, SharedSessionContractImplementor session)
Delete a persistent instance.protected void
AbstractDeleteCoordinator. doDynamicDelete(Object entity, Object id, Object rowId, Object[] loadedState, SharedSessionContractImplementor session)
protected GeneratedValues
InsertCoordinatorStandard. doDynamicInserts(Object id, Object[] values, Object object, SharedSessionContractImplementor session, boolean forceIdentifierBinding)
protected GeneratedValues
UpdateCoordinatorStandard. doDynamicUpdate(Object entity, Object id, Object rowId, Object[] values, Object[] oldValues, UpdateCoordinatorStandard.InclusionChecker dirtinessChecker, UpdateCoordinatorStandard.UpdateValuesAnalysisImpl valuesAnalysis, SharedSessionContractImplementor session)
protected void
AbstractDeleteCoordinator. doStaticDelete(Object entity, Object id, Object rowId, Object[] loadedState, Object version, SharedSessionContractImplementor session)
protected GeneratedValues
InsertCoordinatorStandard. doStaticInserts(Object id, Object[] values, Object object, SharedSessionContractImplementor session)
protected GeneratedValues
UpdateCoordinatorStandard. doStaticUpdate(Object entity, Object id, Object rowId, Object[] values, Object[] oldValues, UpdateCoordinatorStandard.UpdateValuesAnalysisImpl valuesAnalysis, SharedSessionContractImplementor session)
protected GeneratedValues
UpdateCoordinatorStandard. doVersionUpdate(Object entity, Object id, Object version, Object oldVersion, boolean batching, SharedSessionContractImplementor session)
protected GeneratedValues
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
InsertCoordinatorStandard. generateDynamicInsertSqlGroup(boolean[] insertable, Object object, SharedSessionContractImplementor session, boolean forceIdentifierBinding)
protected MutationOperationGroup
UpdateCoordinatorStandard. generateDynamicUpdateGroup(Object entity, Object id, Object rowId, Object[] oldValues, UpdateCoordinatorStandard.UpdateValuesAnalysisImpl valuesAnalysis, SharedSessionContractImplementor session)
protected abstract MutationOperationGroup
AbstractDeleteCoordinator. generateOperationGroup(Object rowId, Object[] loadedState, boolean applyVersion, SharedSessionContractImplementor session)
protected MutationOperationGroup
DeleteCoordinatorSoft. generateOperationGroup(Object rowId, Object[] loadedState, boolean applyVersion, SharedSessionContractImplementor session)
protected MutationOperationGroup
DeleteCoordinatorStandard. generateOperationGroup(Object rowId, Object[] loadedState, boolean applyVersion, SharedSessionContractImplementor session)
protected Supplier<GeneratedValues>
UpdateCoordinatorStandard. handlePotentialImplicitForcedVersionIncrement(Object entity, Object id, Object[] values, Object oldVersion, int[] incomingDirtyAttributeIndexes, SharedSessionContractImplementor session, EntityVersionMapping versionMapping)
@Nullable GeneratedValues
InsertCoordinator. insert(Object entity, Object[] values, SharedSessionContractImplementor session)
Persist an entity instance with a generated identifier.@Nullable GeneratedValues
InsertCoordinator. insert(Object entity, Object id, Object[] values, SharedSessionContractImplementor session)
Persist an entity instance using the provided identifier.@Nullable GeneratedValues
InsertCoordinatorStandard. insert(Object entity, Object[] values, SharedSessionContractImplementor session)
@Nullable GeneratedValues
InsertCoordinatorStandard. insert(Object entity, Object id, Object[] values, SharedSessionContractImplementor session)
protected GeneratedValues
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 boolean
InsertCoordinatorStandard. preInsertInMemoryValueGeneration(Object[] values, Object entity, SharedSessionContractImplementor session)
protected BatchKeyAccess
AbstractMutationCoordinator. resolveBatchKeyAccess(boolean dynamicUpdate, SharedSessionContractImplementor session)
protected MutationOperationGroup
AbstractDeleteCoordinator. resolveNoVersionDeleteGroup(SharedSessionContractImplementor session)
protected BatchKeyAccess
UpdateCoordinatorStandard. resolveUpdateVersionBatchKeyAccess(boolean dynamicUpdate, SharedSessionContractImplementor session)
@Nullable GeneratedValues
UpdateCoordinator. update(Object entity, Object id, Object rowId, Object[] values, Object oldVersion, Object[] incomingOldValues, int[] dirtyAttributeIndexes, boolean hasDirtyCollection, SharedSessionContractImplementor session)
Update a persistent instance.GeneratedValues
UpdateCoordinatorNoOp. update(Object entity, Object id, Object rowId, Object[] values, Object oldVersion, Object[] incomingOldValues, int[] dirtyAttributeIndexes, boolean hasDirtyCollection, SharedSessionContractImplementor session)
GeneratedValues
UpdateCoordinatorStandard. update(Object entity, Object id, Object rowId, Object[] values, Object oldVersion, Object[] incomingOldValues, int[] incomingDirtyAttributeIndexes, boolean hasDirtyCollection, 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 @Nullable Object
ChainedPropertyAccessImpl. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)
@Nullable Object
PropertyAccessCompositeUserTypeImpl. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)
@Nullable 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 @Nullable Object
Getter. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)
Get the property value from the given owner instance.@Nullable Object
GetterFieldImpl. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)
@Nullable 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 session)
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 session)
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)
boolean
AnonymousTupleNonAggregatedEntityIdentifierMapping. areEqual(@Nullable Object one, @Nullable Object other, 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, @Nullable Class<R> resultType, SharedSessionContractImplementor session)
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, @Nullable Class<R> resultType, SharedSessionContractImplementor session)
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.temptable
Methods in org.hibernate.query.sqm.mutation.internal.temptable that return types with arguments of type SharedSessionContractImplementor Modifier and Type Method Description Function<SharedSessionContractImplementor,String>
AbstractDeleteExecutionDelegate. getSessionUidAccess()
protected Function<SharedSessionContractImplementor,String>
TableBasedDeleteHandler. getSessionUidAccess()
protected Function<SharedSessionContractImplementor,String>
UpdateExecutionDelegate. getSessionUidAccess()
-
Uses of SharedSessionContractImplementor in org.hibernate.query.sqm.spi
Methods in org.hibernate.query.sqm.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description <T> SqmQueryImplementor<T>
NamedSqmQueryMemento. toQuery(SharedSessionContractImplementor session)
Convert the memento into an untyped executable query<T> SqmQueryImplementor<T>
NamedSqmQueryMemento. toQuery(SharedSessionContractImplementor session, Class<T> resultType)
<T> SqmSelectionQuery<T>
NamedSqmQueryMemento. toSelectionQuery(Class<T> resultType, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.result.internal
Constructors in org.hibernate.result.internal with parameters of type SharedSessionContractImplementor Constructor Description OutputsExecutionContext(SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.result.spi
Methods in org.hibernate.result.spi that return SharedSessionContractImplementor Modifier and Type Method Description SharedSessionContractImplementor
ResultContext. getSession()
-
Uses of SharedSessionContractImplementor in org.hibernate.sql.ast.tree.expression
-
Uses of SharedSessionContractImplementor in org.hibernate.sql.exec.internal
Methods in org.hibernate.sql.exec.internal that return SharedSessionContractImplementor Modifier and Type Method Description SharedSessionContractImplementor
BaseExecutionContext. getSession()
Constructors in org.hibernate.sql.exec.internal with parameters of type SharedSessionContractImplementor Constructor Description BaseExecutionContext(SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.sql.exec.spi
Methods in org.hibernate.sql.exec.spi that return SharedSessionContractImplementor Modifier and Type Method Description SharedSessionContractImplementor
ExecutionContext. getSession()
Methods in org.hibernate.sql.exec.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description ResultSet
JdbcCallRefCursorExtractor. extractResultSet(CallableStatement callableStatement, SharedSessionContractImplementor session)
T
JdbcCallParameterExtractor. extractValue(CallableStatement callableStatement, boolean shouldUseJdbcNamedParameters, SharedSessionContractImplementor session)
void
Callback. invokeAfterLoadActions(Object entity, EntityMappingType entityMappingType, SharedSessionContractImplementor session)
Invoke all registered actionsdefault void
Callback. invokeAfterLoadActions(SharedSessionContractImplementor session, Object entity, Loadable persister)
Deprecated, for removal: This API element is subject to removal in a future version.Use the updated signaturestatic PreparedStatement
StatementCreatorHelper. prepareQueryStatement(String sql, SharedSessionContractImplementor session)
void
JdbcCallParameterRegistration. registerParameter(CallableStatement callableStatement, SharedSessionContractImplementor session)
default int
JdbcParameterBindings. registerParametersForEachJdbcValue(Object value, int offset, Bindable bindable, JdbcParametersList jdbcParameters, SharedSessionContractImplementor session)
default int
JdbcParameterBindings. registerParametersForEachJdbcValue(Object value, Bindable bindable, JdbcParametersList jdbcParameters, SharedSessionContractImplementor session)
static Object
StandardEntityInstanceResolver. resolveEntityInstance(EntityKey entityKey, boolean eager, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.sql.model
Methods in org.hibernate.sql.model with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
SelfExecutingUpdateOperation. performMutation(JdbcValueBindings jdbcValueBindings, ValuesAnalysis valuesAnalysis, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.sql.model.jdbc
Methods in org.hibernate.sql.model.jdbc with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
DeleteOrUpsertOperation. performMutation(JdbcValueBindings jdbcValueBindings, ValuesAnalysis valuesAnalysis, SharedSessionContractImplementor session)
void
OptionalTableUpdateOperation. performMutation(JdbcValueBindings jdbcValueBindings, ValuesAnalysis incomingValuesAnalysis, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.sql.results.caching
Methods in org.hibernate.sql.results.caching with parameters of type SharedSessionContractImplementor Modifier and Type Method Description default void
QueryCachePutManager. finishUp(int resultCount, SharedSessionContractImplementor session)
void
QueryCachePutManager. finishUp(SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of SharedSessionContractImplementor in org.hibernate.sql.results.caching.internal
Methods in org.hibernate.sql.results.caching.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
QueryCachePutManagerEnabledImpl. finishUp(int resultCount, SharedSessionContractImplementor session)
void
QueryCachePutManagerEnabledImpl. finishUp(SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.sql.results.graph.entity.internal
-
Uses of SharedSessionContractImplementor in org.hibernate.sql.results.jdbc.internal
Methods in org.hibernate.sql.results.jdbc.internal that return SharedSessionContractImplementor Modifier and Type Method Description protected SharedSessionContractImplementor
AbstractResultSetAccess. getPersistenceContext()
SharedSessionContractImplementor
JdbcValuesSourceProcessingStateStandardImpl. getSession()
Methods in org.hibernate.sql.results.jdbc.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
JdbcValuesCacheHit. finishUp(SharedSessionContractImplementor session)
void
JdbcValuesResultSetImpl. finishUp(SharedSessionContractImplementor session)
Constructors in org.hibernate.sql.results.jdbc.internal with parameters of type SharedSessionContractImplementor Constructor Description AbstractResultSetAccess(SharedSessionContractImplementor persistenceContext)
DirectResultSetAccess(SharedSessionContractImplementor persistenceContext, PreparedStatement resultSetSource, ResultSet resultSet)
-
Uses of SharedSessionContractImplementor in org.hibernate.sql.results.jdbc.spi
Methods in org.hibernate.sql.results.jdbc.spi that return SharedSessionContractImplementor Modifier and Type Method Description SharedSessionContractImplementor
JdbcValuesSourceProcessingState. getSession()
Methods in org.hibernate.sql.results.jdbc.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
JdbcValues. finishUp(SharedSessionContractImplementor session)
Give implementations a chance to finish processing -
Uses of SharedSessionContractImplementor in org.hibernate.sql.results.spi
-
Uses of SharedSessionContractImplementor in org.hibernate.testing.cache
Methods in org.hibernate.testing.cache with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
MapStorageAccessImpl. clearCache(SharedSessionContractImplementor session)
Object
MapStorageAccessImpl. getFromCache(Object key, SharedSessionContractImplementor session)
void
MapStorageAccessImpl. putIntoCache(Object key, Object value, SharedSessionContractImplementor session)
void
MapStorageAccessImpl. removeFromCache(Object key, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.tuple
Methods in org.hibernate.tuple with parameters of type SharedSessionContractImplementor Modifier and Type Method Description default Object
ValueGeneration. generate(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType)
Deprecated, for removal: This API element is subject to removal in a future version.Object
VmValueGeneration. generate(SharedSessionContractImplementor session, Object owner, Object currentValue, EventType eventType)
Deprecated. -
Uses of SharedSessionContractImplementor in org.hibernate.type
Methods in org.hibernate.type with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
CustomType. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
Object
AbstractStandardBasicType. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)
Object
AbstractType. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)
Object
AnyType. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)
Object
CollectionType. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)
Object
ComponentType. assemble(Serializable object, SharedSessionContractImplementor session, Object owner)
Object
CustomType. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)
Object
ManyToOneType. assemble(Serializable oid, SharedSessionContractImplementor session, Object owner)
Object
OneToOneType. assemble(Serializable oid, SharedSessionContractImplementor session, Object owner)
Object
SerializableToBlobType. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)
Object
SpecialOneToOneType. assemble(Serializable oid, SharedSessionContractImplementor session, Object owner)
@Nullable Object
Type. assemble(@Nullable Serializable cached, SharedSessionContractImplementor session, Object owner)
Reconstruct the object from its disassembled state.Object
UserComponentType. assemble(Serializable object, SharedSessionContractImplementor session, Object owner)
void
AbstractStandardBasicType. beforeAssemble(Serializable cached, SharedSessionContractImplementor session)
void
AbstractType. beforeAssemble(Serializable cached, SharedSessionContractImplementor session)
void
ManyToOneType. beforeAssemble(Serializable oid, SharedSessionContractImplementor session)
void
SerializableToBlobType. beforeAssemble(Serializable cached, SharedSessionContractImplementor session)
void
Type. beforeAssemble(Serializable cached, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.Is not called anymoreboolean
CollectionType. contains(Object collection, Object childObject, SharedSessionContractImplementor session)
boolean
CustomCollectionType. contains(Object collection, Object entity, SharedSessionContractImplementor session)
static void
TypeHelper. deepCopy(Object[] values, Type[] types, boolean[] copy, Object[] target, SharedSessionContractImplementor session)
Deep copy a series of values from one array to another...Serializable
AbstractStandardBasicType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
Serializable
AbstractType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
Serializable
AnyType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
default Object
BasicType. disassemble(Object value, SharedSessionContractImplementor session)
Serializable
CollectionType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
Serializable
ComponentType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
Object
CustomType. disassemble(Object value, SharedSessionContractImplementor session)
Serializable
CustomType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
Serializable
ManyToOneType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
Serializable
OneToOneType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
Serializable
SerializableToBlobType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
Serializable
SpecialOneToOneType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
@Nullable Serializable
Type. disassemble(@Nullable Object value, @Nullable SharedSessionContractImplementor session, @Nullable Object owner)
Return a disassembled representation of the object.Serializable
UserComponentType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
T
AbstractStandardBasicType. extract(CallableStatement statement, int startIndex, SharedSessionContractImplementor session)
T
AbstractStandardBasicType. extract(CallableStatement statement, String paramName, SharedSessionContractImplementor session)
Object
ComponentType. extract(CallableStatement statement, int startIndex, SharedSessionContractImplementor session)
Object
ComponentType. extract(CallableStatement statement, String paramName, SharedSessionContractImplementor session)
J
CustomType. extract(CallableStatement statement, int startIndex, SharedSessionContractImplementor session)
J
CustomType. extract(CallableStatement statement, String paramName, SharedSessionContractImplementor session)
T
SerializableToBlobType. extract(CallableStatement statement, int startIndex, SharedSessionContractImplementor session)
T
SerializableToBlobType. extract(CallableStatement statement, String paramName, SharedSessionContractImplementor session)
default <X,Y>
intBasicType. forEachDisassembledJdbcValue(Object value, int offset, X x, Y y, Bindable.JdbcValuesBiConsumer<X,Y> valuesConsumer, SharedSessionContractImplementor session)
Object
CollectionType. getCollection(Object key, SharedSessionContractImplementor session, Object owner, Boolean overridingEager)
instantiate a collection wrapper (called when loading an object)Iterator<?>
CollectionType. getElementsIterator(Object collection, SharedSessionContractImplementor session)
Deprecated.protected Object
EntityType. getIdentifier(Object value, SharedSessionContractImplementor session)
Object
CollectionType. getIdOfOwnerOrNull(Object key, SharedSessionContractImplementor session)
Get the id value from the owning entity key, usually the same as the key, but might be some other property, in the case of property-ref@Nullable Object
CollectionType. getKeyOfOwner(Object owner, SharedSessionContractImplementor session)
Get the key value from the owning entity instance, usually the identifier, but might be some other unique key, in the case of property-refObject
AnyType. getPropertyValue(Object component, int i, SharedSessionContractImplementor session)
Object
ComponentType. getPropertyValue(Object component, int i, SharedSessionContractImplementor session)
Object
CompositeType. getPropertyValue(Object component, int index, SharedSessionContractImplementor session)
Extract a particular component property value indicated by index.Object[]
AnyType. getPropertyValues(Object component, SharedSessionContractImplementor session)
Object[]
ComponentType. getPropertyValues(Object component, SharedSessionContractImplementor session)
Object[]
CompositeType. getPropertyValues(Object component, SharedSessionContractImplementor session)
Extract the values of the component properties from the given component instancePersistentCollection<?>
ArrayType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key)
PersistentCollection<?>
BagType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key)
abstract PersistentCollection<?>
CollectionType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key)
Instantiate an uninitialized collection wrapper or holder.PersistentCollection<?>
CustomCollectionType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key)
PersistentCollection<?>
IdentifierBagType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key)
PersistentCollection<?>
ListType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key)
PersistentCollection<?>
MapType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key)
PersistentCollection<?>
SetType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key)
PersistentCollection<?>
SortedMapType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key)
PersistentCollection<?>
SortedSetType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Object key)
boolean
AbstractStandardBasicType. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
AbstractStandardBasicType. isDirty(Object old, Object current, SharedSessionContractImplementor session)
boolean
AbstractType. isDirty(Object old, Object current, SharedSessionContractImplementor session)
boolean
AnyType. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
CollectionType. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
CollectionType. isDirty(Object old, Object current, SharedSessionContractImplementor session)
boolean
ComponentType. isDirty(Object x, Object y, boolean[] checkable, SharedSessionContractImplementor session)
boolean
ComponentType. isDirty(Object x, Object y, SharedSessionContractImplementor session)
boolean
CustomType. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
ManyToOneType. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
ManyToOneType. isDirty(Object old, Object current, SharedSessionContractImplementor session)
boolean
MetaType. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.boolean
OneToOneType. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
OneToOneType. isDirty(Object old, Object current, SharedSessionContractImplementor session)
boolean
SerializableToBlobType. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
SerializableToBlobType. isDirty(Object old, Object current, SharedSessionContractImplementor session)
boolean
Type. isDirty(@Nullable Object oldState, @Nullable Object currentState, boolean[] checkable, SharedSessionContractImplementor session)
Should the parent be considered dirty, given both the old and current value?boolean
Type. isDirty(@Nullable Object old, @Nullable Object current, SharedSessionContractImplementor session)
Should the parent be considered dirty, given both the old and current value?boolean
AbstractStandardBasicType. isModified(Object oldHydratedState, Object currentState, boolean[] checkable, SharedSessionContractImplementor session)
boolean
AbstractType. isModified(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
AnyType. isModified(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
CollectionType. isModified(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
ComponentType. isModified(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
ManyToOneType. isModified(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
OneToOneType. isModified(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
SerializableToBlobType. isModified(Object oldHydratedState, Object currentState, boolean[] checkable, SharedSessionContractImplementor session)
boolean
Type. isModified(@Nullable Object dbState, @Nullable Object currentState, boolean[] checkable, SharedSessionContractImplementor session)
Has the value been modified compared to the current database state? The difference between this and theType.isDirty(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor)
methods is that here we need to account for "partially" built values.protected boolean
EntityType. isNull(Object owner, SharedSessionContractImplementor session)
boolean
OneToOneType. isNull(Object owner, SharedSessionContractImplementor session)
Object
EntityType. loadByUniqueKey(String entityName, String uniqueKeyPropertyName, Object key, SharedSessionContractImplementor session)
Load an instance by a unique key that is not the primary key.T
EnumType. nullSafeGet(ResultSet rs, int position, SharedSessionContractImplementor session, Object owner)
Deprecated, for removal: This API element is subject to removal in a future version.void
AbstractSingleColumnStandardBasicType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
AbstractStandardBasicType. nullSafeSet(CallableStatement st, T value, String name, SharedSessionContractImplementor session)
void
AbstractStandardBasicType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
AbstractStandardBasicType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)
void
AnyType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
AnyType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)
void
CollectionType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
CollectionType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)
void
ComponentType. nullSafeSet(PreparedStatement st, Object value, int begin, boolean[] settable, SharedSessionContractImplementor session)
void
ComponentType. nullSafeSet(PreparedStatement st, Object value, int begin, SharedSessionContractImplementor session)
void
CustomType. nullSafeSet(CallableStatement statement, J value, String name, SharedSessionContractImplementor session)
void
CustomType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
CustomType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)
void
EntityType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
EntityType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)
void
EnumType. nullSafeSet(PreparedStatement st, T value, int index, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.void
MetaType. 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
MetaType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)
Deprecated, for removal: This API element is subject to removal in a future version.void
OneToOneType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
ProcedureParameterNamedBinder. nullSafeSet(CallableStatement statement, J value, String name, SharedSessionContractImplementor session)
Bind a value to the JDBC prepared statement, ignoring some columns as dictated by the 'settable' parameter.void
SerializableToBlobType. nullSafeSet(CallableStatement st, T value, String name, SharedSessionContractImplementor session)
void
SerializableToBlobType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
SerializableToBlobType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)
void
Type. nullSafeSet(PreparedStatement st, @Nullable Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
Bind a value represented by an instance of themapped class
to the given JDBCPreparedStatement
, ignoring some columns as dictated by thesettable
parameter.void
Type. nullSafeSet(PreparedStatement st, @Nullable Object value, int index, SharedSessionContractImplementor session)
Bind a value represented by an instance of themapped class
to the given JDBCPreparedStatement
, ignoring some columns as dictated by thesettable
parameter.Object
AbstractStandardBasicType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache)
Object
AbstractStandardBasicType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache, ForeignKeyDirection foreignKeyDirection)
Object
AbstractType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache, ForeignKeyDirection foreignKeyDirection)
Object
AnyType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache)
Object
CollectionType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache)
Object
ComponentType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache)
Object
ComponentType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache, ForeignKeyDirection foreignKeyDirection)
Object
CustomType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache)
Object
EntityType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache)
Object
MetaType. 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.Object
SerializableToBlobType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache)
Object
SerializableToBlobType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache, ForeignKeyDirection foreignKeyDirection)
@Nullable Object
Type. replace(@Nullable Object original, @Nullable Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache)
During merge, replace the existing (target) value in the entity we are merging to with a new (original) value from the detached entity we are merging.@Nullable Object
Type. replace(@Nullable Object original, @Nullable Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache, ForeignKeyDirection foreignKeyDirection)
During merge, replace the existing (target) value in the entity we are merging to with a new (original) value from the detached entity we are merging.static Object[]
TypeHelper. replace(Object[] original, Object[] target, Type[] types, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache)
Apply theType.replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map<java.lang.Object, java.lang.Object>)
operation across a series of values.static Object[]
TypeHelper. replace(Object[] original, Object[] target, Type[] types, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache, ForeignKeyDirection foreignKeyDirection)
Apply theType.replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map<java.lang.Object, java.lang.Object>)
operation across a series of values.static void
TypeHelper. replace(EntityPersister persister, Object entity, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache)
Apply theType.replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map<java.lang.Object, java.lang.Object>)
operation across a series of values.Object
UserComponentType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache)
Object
UserComponentType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache, ForeignKeyDirection foreignKeyDirection)
static Object[]
TypeHelper. replaceAssociations(Object[] original, Object[] target, Type[] types, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache, ForeignKeyDirection foreignKeyDirection)
Apply theType.replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map<java.lang.Object, java.lang.Object>)
operation across a series of values, as long as the correspondingType
is an association.Object
ArrayType. replaceElements(Object original, Object target, Object owner, Map copyCache, SharedSessionContractImplementor session)
Object
CollectionType. replaceElements(Object original, Object target, Object owner, Map<Object,Object> copyCache, SharedSessionContractImplementor session)
Replace the elements of a collection with the elements of another collection.Object
CustomCollectionType. replaceElements(Object original, Object target, Object owner, Map copyCache, SharedSessionContractImplementor session)
Object
MapType. replaceElements(Object original, Object target, Object owner, Map copyCache, SharedSessionContractImplementor session)
Object
ComponentType. replacePropertyValues(Object component, Object[] values, SharedSessionContractImplementor session)
default Object
CompositeType. replacePropertyValues(Object component, Object[] values, SharedSessionContractImplementor session)
Inject property values onto the given component instance, or return a new instance with the given property values.Object
UserComponentType. replacePropertyValues(Object component, Object[] values, SharedSessionContractImplementor session)
protected Object
EntityType. resolve(Object value, SharedSessionContractImplementor session, Object owner)
Resolve an identifier or unique key valueprotected Object
EntityType. resolveIdentifier(Object id, SharedSessionContractImplementor session)
protected Object
EntityType. resolveIdentifier(Object id, SharedSessionContractImplementor session, Boolean overridingEager)
Resolve an identifier via a load.PersistentCollection<?>
ArrayType. wrap(SharedSessionContractImplementor session, Object array)
PersistentCollection<?>
BagType. wrap(SharedSessionContractImplementor session, Object collection)
abstract PersistentCollection<?>
CollectionType. wrap(SharedSessionContractImplementor session, Object collection)
Wrap the naked collection instance in a wrapper, or instantiate a holder.PersistentCollection<?>
CustomCollectionType. wrap(SharedSessionContractImplementor session, Object collection)
PersistentCollection<?>
IdentifierBagType. wrap(SharedSessionContractImplementor session, Object collection)
PersistentCollection<?>
ListType. wrap(SharedSessionContractImplementor session, Object collection)
PersistentCollection<?>
MapType. wrap(SharedSessionContractImplementor session, Object collection)
PersistentCollection<?>
SetType. wrap(SharedSessionContractImplementor session, Object collection)
PersistentCollection<?>
SortedMapType. wrap(SharedSessionContractImplementor session, Object collection)
PersistentCollection<?>
SortedSetType. wrap(SharedSessionContractImplementor session, Object collection)
-
Uses of SharedSessionContractImplementor in org.hibernate.type.descriptor
Methods in org.hibernate.type.descriptor that return SharedSessionContractImplementor Modifier and Type Method Description SharedSessionContractImplementor
WrapperOptions. getSession()
Access to the current session. -
Uses of SharedSessionContractImplementor in org.hibernate.type.descriptor.java
Methods in org.hibernate.type.descriptor.java with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
JavaTypedExpressible. addToCacheKey(MutableCacheKeyBuilder cacheKey, Object value, SharedSessionContractImplementor session)
static Clock
ClockHelper. forPrecision(Integer precision, SharedSessionContractImplementor session)
static Clock
ClockHelper. forPrecision(Integer precision, SharedSessionContractImplementor session, int maxPrecision)
Blob
BlobJavaType. getReplacement(Blob original, Blob target, SharedSessionContractImplementor session)
Clob
ClobJavaType. getReplacement(Clob original, Clob target, SharedSessionContractImplementor session)
default T
JavaType. getReplacement(T original, T target, SharedSessionContractImplementor session)
NClob
NClobJavaType. getReplacement(NClob original, NClob target, SharedSessionContractImplementor session)
Byte
ByteJavaType. next(Byte current, Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
Calendar
CalendarJavaType. next(Calendar current, Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
Date
DateJavaType. next(Date current, Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
Instant
InstantJavaType. next(Instant current, Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
Integer
IntegerJavaType. next(Integer current, Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
Date
JdbcTimestampJavaType. next(Date current, Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
LocalDateTime
LocalDateTimeJavaType. next(LocalDateTime current, Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
Long
LongJavaType. next(Long current, Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
OffsetDateTime
OffsetDateTimeJavaType. next(OffsetDateTime current, Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
byte[]
PrimitiveByteArrayJavaType. next(byte[] current, Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
byte[]
RowVersionJavaType. next(byte[] current, Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
Deprecated.Short
ShortJavaType. next(Short current, Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
T
VersionJavaType. next(T current, Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
Increment the version.ZonedDateTime
ZonedDateTimeJavaType. next(ZonedDateTime current, Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
Byte
ByteJavaType. seed(Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
Calendar
CalendarJavaType. seed(Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
Date
DateJavaType. seed(Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
Instant
InstantJavaType. seed(Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
Integer
IntegerJavaType. seed(Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
Date
JdbcTimestampJavaType. seed(Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
LocalDateTime
LocalDateTimeJavaType. seed(Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
Long
LongJavaType. seed(Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
OffsetDateTime
OffsetDateTimeJavaType. seed(Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
byte[]
PrimitiveByteArrayJavaType. seed(Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
byte[]
RowVersionJavaType. seed(Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
Deprecated.Short
ShortJavaType. seed(Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
T
VersionJavaType. seed(Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
Generate an initial version.ZonedDateTime
ZonedDateTimeJavaType. seed(Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.type.descriptor.jdbc
Methods in org.hibernate.type.descriptor.jdbc with parameters of type SharedSessionContractImplementor Modifier and Type Method Description protected String
ArrayJdbcType. getElementTypeName(JavaType<?> javaType, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.type.internal
Methods in org.hibernate.type.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
ConvertedBasicTypeImpl. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)
void
ConvertedBasicTypeImpl. beforeAssemble(Serializable cached, SharedSessionContractImplementor session)
Object
ConvertedBasicTypeImpl. disassemble(Object value, SharedSessionContractImplementor session)
Serializable
ConvertedBasicTypeImpl. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
J
ConvertedBasicTypeImpl. extract(CallableStatement statement, int startIndex, SharedSessionContractImplementor session)
J
ConvertedBasicTypeImpl. extract(CallableStatement statement, String paramName, SharedSessionContractImplementor session)
boolean
ConvertedBasicTypeImpl. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
ConvertedBasicTypeImpl. isDirty(Object old, Object current, SharedSessionContractImplementor session)
boolean
ConvertedBasicTypeImpl. isModified(Object oldHydratedState, Object currentState, boolean[] checkable, SharedSessionContractImplementor session)
J
UserTypeVersionJavaTypeWrapper. next(J current, Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
void
ConvertedBasicTypeImpl. nullSafeSet(CallableStatement st, J value, String name, SharedSessionContractImplementor session)
void
ConvertedBasicTypeImpl. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
ConvertedBasicTypeImpl. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)
Object
ConvertedBasicTypeImpl. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache)
Object
ConvertedBasicTypeImpl. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache, ForeignKeyDirection foreignKeyDirection)
J
UserTypeVersionJavaTypeWrapper. seed(Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.usertype
Methods in org.hibernate.usertype with parameters of type SharedSessionContractImplementor Modifier and Type Method Description PersistentCollection<?>
UserCollectionType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister)
Instantiate an uninitialized instance of the collection wrapperT
UserVersionType. next(T current, SharedSessionContractImplementor session)
Increment the version.T
BaseUserTypeSupport. nullSafeGet(ResultSet rs, int position, SharedSessionContractImplementor session, Object owner)
T
StaticUserTypeSupport. nullSafeGet(ResultSet rs, int position, SharedSessionContractImplementor session, Object owner)
J
UserType. nullSafeGet(ResultSet rs, int position, SharedSessionContractImplementor session, Object owner)
Read an instance of the Java class mapped by this custom type from the given JDBCResultSet
.void
BaseUserTypeSupport. nullSafeSet(PreparedStatement st, T value, int index, SharedSessionContractImplementor session)
void
StaticUserTypeSupport. nullSafeSet(PreparedStatement st, T value, int index, SharedSessionContractImplementor session)
void
UserType. nullSafeSet(PreparedStatement st, J value, int index, SharedSessionContractImplementor session)
Write an instance of the Java class mapped by this custom type to the given JDBCPreparedStatement
.Object
UserCollectionType. replaceElements(Object original, Object target, CollectionPersister persister, Object owner, Map copyCache, SharedSessionContractImplementor session)
Replace the elements of a collection with the elements of another collectionT
UserVersionType. seed(SharedSessionContractImplementor session)
Generate an initial version.PersistentCollection<?>
UserCollectionType. wrap(SharedSessionContractImplementor session, Object collection)
Wrap an instance of a collection
-