Uses of Interface
org.hibernate.engine.spi.SharedSessionContractImplementor
-
-
Uses of SharedSessionContractImplementor in org.hibernate.action.internal
Methods in org.hibernate.action.internal that return SharedSessionContractImplementor Modifier and Type Method Description protected SharedSessionContractImplementor
CollectionAction. getSession()
SharedSessionContractImplementor
EntityAction. getSession()
originating session accessorMethods in org.hibernate.action.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
AbstractEntityInsertAction. afterDeserialize(SharedSessionContractImplementor session)
void
BulkOperationCleanupAction. afterDeserialize(SharedSessionContractImplementor session)
void
CollectionAction. afterDeserialize(SharedSessionContractImplementor session)
Reconnect to session after deserialization...void
EntityAction. afterDeserialize(SharedSessionContractImplementor session)
Reconnect to session after deserialization...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 boolean
EntityInsertAction. isCachePutEnabled(EntityPersister persister, SharedSessionContractImplementor session)
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 AbstractEntityInsertAction(Object id, Object[] state, Object instance, boolean isVersionIncrementDisabled, EntityPersister persister, SharedSessionContractImplementor session)
Constructs an AbstractEntityInsertAction object.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.CollectionAction(CollectionPersister persister, PersistentCollection<?> collection, Object key, SharedSessionContractImplementor session)
CollectionRecreateAction(PersistentCollection<?> collection, CollectionPersister persister, Object id, SharedSessionContractImplementor session)
Constructs a CollectionRecreateActionCollectionRemoveAction(Object affectedOwner, CollectionPersister persister, Object id, boolean emptySnapshot, SharedSessionContractImplementor session)
Removes a persistent collection from a specified owner.CollectionRemoveAction(PersistentCollection<?> collection, CollectionPersister persister, Object id, boolean emptySnapshot, SharedSessionContractImplementor session)
Removes a persistent collection from its loaded owner.CollectionUpdateAction(PersistentCollection<?> collection, CollectionPersister persister, Object id, boolean emptySnapshot, SharedSessionContractImplementor session)
Constructs a CollectionUpdateActionEntityAction(SharedSessionContractImplementor session, Object id, Object instance, EntityPersister persister)
Instantiate an action.EntityIdentityInsertAction(Object[] state, Object instance, EntityPersister persister, boolean isVersionIncrementDisabled, SharedSessionContractImplementor session, boolean isDelayed)
Constructs an EntityIdentityInsertActionEntityInsertAction(Object id, Object[] state, Object instance, Object version, EntityPersister persister, boolean isVersionIncrementDisabled, SharedSessionContractImplementor session)
Constructs an EntityInsertAction.EntityUpdateAction(Object id, Object[] state, int[] dirtyProperties, boolean hasDirtyCollection, Object[] previousState, Object previousVersion, Object nextVersion, Object instance, Object rowId, EntityPersister persister, SharedSessionContractImplementor session)
Constructs an EntityUpdateActionQueuedOperationCollectionAction(PersistentCollection<?> collection, CollectionPersister persister, Object id, SharedSessionContractImplementor session)
Constructs a CollectionUpdateAction -
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
Executable. afterDeserialize(SharedSessionContractImplementor session)
Reconnect to session after deserializationvoid
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.spi
Methods in org.hibernate.bytecode.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description PersistentAttributeInterceptable
BytecodeEnhancementMetadata. createEnhancedProxy(EntityKey keyToLoad, boolean addEmptyEntry, SharedSessionContractImplementor session)
Create an "enhancement as proxy" instance for the given entityvoid
BytecodeEnhancementMetadata. injectEnhancedEntityAsProxyInterceptor(Object entity, EntityKey entityKey, SharedSessionContractImplementor session)
LazyAttributeLoadingInterceptor
BytecodeEnhancementMetadata. injectInterceptor(Object entity, Object identifier, SharedSessionContractImplementor session)
Build and inject an interceptor instance into the enhanced entity.void
BytecodeEnhancementMetadata. injectInterceptor(Object entity, PersistentAttributeInterceptor interceptor, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.cache.internal
Methods in org.hibernate.cache.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
DefaultCacheKeysFactory. createNaturalIdKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)
Object
SimpleCacheKeysFactory. createNaturalIdKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)
CacheTransactionSynchronization
NoCachingRegionFactory. createTransactionContext(SharedSessionContractImplementor session)
List<?>
QueryResultsCacheImpl. get(QueryKey key, String[] spaces, SharedSessionContractImplementor session)
List<?>
QueryResultsCacheImpl. get(QueryKey key, Set<String> spaces, SharedSessionContractImplementor session)
void
TimestampsCacheDisabledImpl. invalidate(String[] spaces, SharedSessionContractImplementor session)
void
TimestampsCacheEnabledImpl. invalidate(String[] spaces, SharedSessionContractImplementor session)
boolean
TimestampsCacheDisabledImpl. isUpToDate(String[] spaces, Long timestamp, SharedSessionContractImplementor session)
boolean
TimestampsCacheDisabledImpl. isUpToDate(Collection<String> spaces, Long timestamp, SharedSessionContractImplementor session)
boolean
TimestampsCacheEnabledImpl. isUpToDate(String[] spaces, Long timestamp, SharedSessionContractImplementor session)
boolean
TimestampsCacheEnabledImpl. isUpToDate(Collection<String> spaces, Long timestamp, SharedSessionContractImplementor session)
void
TimestampsCacheDisabledImpl. preInvalidate(String[] spaces, SharedSessionContractImplementor session)
void
TimestampsCacheEnabledImpl. preInvalidate(String[] spaces, SharedSessionContractImplementor session)
boolean
QueryResultsCacheImpl. put(QueryKey key, List<?> results, SharedSessionContractImplementor session)
static Object
DefaultCacheKeysFactory. staticCreateNaturalIdKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)
Constructors in org.hibernate.cache.internal with parameters of type SharedSessionContractImplementor Constructor Description NaturalIdCacheKey(Object naturalIdValues, EntityPersister persister, String entityName, SharedSessionContractImplementor session)
NaturalIdCacheKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.cache.jcache.internal
Methods in org.hibernate.cache.jcache.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
JCacheAccessImpl. clearCache(SharedSessionContractImplementor session)
Object
JCacheAccessImpl. getFromCache(Object key, SharedSessionContractImplementor session)
void
JCacheAccessImpl. putIntoCache(Object key, Object value, SharedSessionContractImplementor session)
void
JCacheAccessImpl. removeFromCache(Object key, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.cache.spi
Methods in org.hibernate.cache.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
CacheKeysFactory. createNaturalIdKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)
CacheTransactionSynchronization
AbstractRegionFactory. createTransactionContext(SharedSessionContractImplementor session)
default CacheTransactionSynchronization
RegionFactory. createTransactionContext(SharedSessionContractImplementor session)
static QueryKey
QueryKey. from(String sqlQueryString, Limit limit, QueryParameterBindings parameterBindings, SharedSessionContractImplementor persistenceContext)
List<?>
QueryResultsCache. get(QueryKey key, String[] spaces, SharedSessionContractImplementor session)
Get results from the cache.List<?>
QueryResultsCache. get(QueryKey key, Set<String> spaces, SharedSessionContractImplementor session)
Get results from the cache.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 timestamps region databoolean
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 timestamps region databoolean
QueryResultsCache. put(QueryKey key, List<?> result, SharedSessionContractImplementor session)
Put a result into the query 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.identity
Methods in org.hibernate.dialect.identity with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
GetGeneratedKeysDelegate. executeAndExtract(PreparedStatement insert, SharedSessionContractImplementor session)
protected PreparedStatement
GetGeneratedKeysDelegate. prepare(String insertSQL, SharedSessionContractImplementor session)
protected PreparedStatement
Oracle12cGetGeneratedKeysDelegate. prepare(String insertSQL, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.dialect.lock
Methods in org.hibernate.dialect.lock with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
LockingStrategy. lock(Object id, Object version, Object object, int timeout, SharedSessionContractImplementor session)
Acquire an appropriate type of lock on the underlying data that will endure until the end of the current transaction.void
OptimisticForceIncrementLockingStrategy. lock(Object id, Object version, Object object, int timeout, SharedSessionContractImplementor session)
void
OptimisticLockingStrategy. lock(Object id, Object version, Object object, int timeout, SharedSessionContractImplementor session)
void
PessimisticForceIncrementLockingStrategy. lock(Object id, Object version, Object object, int timeout, SharedSessionContractImplementor session)
void
PessimisticReadSelectLockingStrategy. lock(Object id, Object version, Object object, int timeout, SharedSessionContractImplementor session)
void
PessimisticReadUpdateLockingStrategy. lock(Object id, Object version, Object object, int timeout, SharedSessionContractImplementor session)
void
PessimisticWriteSelectLockingStrategy. lock(Object id, Object version, Object object, int timeout, SharedSessionContractImplementor session)
void
PessimisticWriteUpdateLockingStrategy. lock(Object id, Object version, Object object, int timeout, SharedSessionContractImplementor session)
void
SelectLockingStrategy. lock(Object id, Object version, Object object, int timeout, SharedSessionContractImplementor session)
void
UpdateLockingStrategy. lock(Object id, Object version, Object object, int timeout, SharedSessionContractImplementor session)
-
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
TwoPhaseLoad. addUninitializedCachedEntity(EntityKey key, Object object, EntityPersister persister, LockMode lockMode, Object version, SharedSessionContractImplementor session)
static NonNullableTransientDependencies
ForeignKeys. findNonNullableTransientEntities(String entityName, Object entity, Object[] values, boolean isEarlyInsert, SharedSessionContractImplementor session)
Find all non-nullable references to entities that have not yet been inserted in the database, where the foreign key is a reference to an unsaved transient entity.static Object
CacheHelper. fromSharedCache(SharedSessionContractImplementor session, Object cacheKey, CachedDomainDataAccess cacheAccess)
static Object
ForeignKeys. getEntityIdentifierIfNotUnsaved(String entityName, Object object, SharedSessionContractImplementor session)
Return the identifier of the persistent or transient object, or throw an exception if the instance is "unsaved"static Object
Versioning. increment(Object version, EntityVersionMapping versionMapping, SharedSessionContractImplementor session)
Generate the next increment in the optimistic locking value according theVersionJavaType
contract for the version property.static boolean
ForeignKeys. isNotTransient(String entityName, Object entity, Boolean assumed, SharedSessionContractImplementor session)
Is this instance persistent or detached?boolean
AbstractEntityEntry. isNullifiable(boolean earlyInsert, SharedSessionContractImplementor session)
static boolean
ForeignKeys. isTransient(String entityName, Object entity, Boolean assumed, SharedSessionContractImplementor session)
Is this instance, which we know is not persistent, actually transient?static void
BatchFetchQueueHelper. removeBatchLoadableEntityKey(Object id, EntityMappingType entityMappingType, SharedSessionContractImplementor session)
static void
BatchFetchQueueHelper. removeBatchLoadableEntityKey(Object id, EntityPersister persister, SharedSessionContractImplementor session)
Remove the entity key with the specifiedid
andpersister
from the batch loadable entitiesBatchFetchQueue
.static void
BatchFetchQueueHelper. 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 boolean
Versioning. seedVersion(Object[] fields, int versionProperty, EntityVersionMapping versionMapping, SharedSessionContractImplementor session)
Create an initial optimistic locking value according theVersionJavaType
contract for the version property if required and inject it into the snapshot state.String
NonNullableTransientDependencies. toLoggableString(SharedSessionContractImplementor session)
Build a loggable representation of the paths tracked here at the moment.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.spi
Subinterfaces of SharedSessionContractImplementor in org.hibernate.engine.spi Modifier and Type Interface Description interface
SessionImplementor
Defines the "internal contract" forSession
and other parts of Hibernate such asType
,EntityPersister
andCollectionPersister
implementations.Classes in org.hibernate.engine.spi that implement SharedSessionContractImplementor Modifier and Type Class Description class
SessionDelegatorBaseImpl
This class is meant to be extended.Methods in org.hibernate.engine.spi that return SharedSessionContractImplementor Modifier and Type Method Description SharedSessionContractImplementor
PersistenceContext. getSession()
Get the session to which this persistence context is bound.default SharedSessionContractImplementor
SharedSessionContractImplementor. getSession()
Methods in org.hibernate.engine.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description static Iterator<?>
CascadingActions. getLoadedElementsIterator(SharedSessionContractImplementor session, CollectionType collectionType, Object collection)
Iterate just the elements of the collection that are already there.boolean
EntityEntry. isNullifiable(boolean earlyInsert, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.envers.internal.entities
Methods in org.hibernate.envers.internal.entities with parameters of type SharedSessionContractImplementor Modifier and Type Method Description RevisionType
RevisionTypeType. nullSafeGet(ResultSet rs, int position, SharedSessionContractImplementor session, Object owner)
void
RevisionTypeType. nullSafeSet(PreparedStatement preparedStatement, RevisionType value, int index, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.envers.internal.entities.mapper.relation.lazy
Classes in org.hibernate.envers.internal.entities.mapper.relation.lazy that implement SharedSessionContractImplementor Modifier and Type Class Description class
AbstractDelegateSessionImplementor
class
ToOneDelegateSessionImplementor
-
Uses of SharedSessionContractImplementor in org.hibernate.envers.internal.entities.mapper.relation.query
Methods in org.hibernate.envers.internal.entities.mapper.relation.query with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Query
AbstractRelationQueryGenerator. getQuery(SharedSessionContractImplementor session, Object primaryKey, Number revision, boolean removed)
Query
RelationQueryGenerator. getQuery(SharedSessionContractImplementor session, Object primaryKey, Number revision, boolean removed)
Return the query to fetch the relation. -
Uses of SharedSessionContractImplementor in org.hibernate.event.spi
Subinterfaces of SharedSessionContractImplementor in org.hibernate.event.spi Modifier and Type Interface Description interface
EventSource
-
Uses of SharedSessionContractImplementor in org.hibernate.id
Methods in org.hibernate.id with parameters of type SharedSessionContractImplementor Modifier and Type Method Description protected void
SelectGenerator.SelectGeneratorDelegate. bindParameters(SharedSessionContractImplementor session, PreparedStatement ps, Object entity)
Object
IdentityGenerator.InsertSelectDelegate. determineGeneratedIdentifier(SharedSessionContractImplementor session, Object entity)
void
CompositeNestedGeneratedValueGenerator.GenerationPlan. execute(SharedSessionContractImplementor session, Object incomingObject, Object injectionContext)
Execute the value generation.Object
IdentityGenerator.InsertSelectDelegate. executeAndExtract(PreparedStatement insert, SharedSessionContractImplementor session)
Object
AbstractPostInsertGenerator. generate(SharedSessionContractImplementor s, Object obj)
Object
Assigned. generate(SharedSessionContractImplementor session, Object obj)
Object
CompositeNestedGeneratedValueGenerator. generate(SharedSessionContractImplementor session, Object object)
Object
ForeignGenerator. generate(SharedSessionContractImplementor sessionImplementor, Object object)
Object
GUIDGenerator. generate(SharedSessionContractImplementor session, Object obj)
Deprecated.Object
IdentifierGenerator. generate(SharedSessionContractImplementor session, Object object)
Generate a new identifier.Object
IncrementGenerator. generate(SharedSessionContractImplementor session, Object object)
Object
UUIDGenerator. generate(SharedSessionContractImplementor session, Object object)
Deprecated.Object
UUIDHexGenerator. generate(SharedSessionContractImplementor session, Object obj)
UUID
UUIDGenerationStrategy. generateUUID(SharedSessionContractImplementor session)
Deprecated.Generate the UUID.protected Object
IdentityGenerator.BasicDelegate. getResult(SharedSessionContractImplementor session, ResultSet rs, Object object)
protected Object
SelectGenerator.SelectGeneratorDelegate. getResult(SharedSessionContractImplementor session, ResultSet rs, Object entity)
Object
CompositeNestedGeneratedValueGenerator.GenerationContextLocator. locateGenerationContext(SharedSessionContractImplementor session, Object incomingObject)
Given the incoming object, determine the context for injecting back its generated id sub-values.protected PreparedStatement
IdentityGenerator.InsertSelectDelegate. prepare(String insertSQL, SharedSessionContractImplementor session)
-
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(SharedSessionContractImplementor session, PreparedStatement ps, Object entity)
Bind any required parameter values into the SQL commandAbstractSelectingDelegate.getSelectSQL()
.protected abstract Object
AbstractReturningDelegate. executeAndExtract(PreparedStatement insert, SharedSessionContractImplementor session)
protected abstract Object
AbstractSelectingDelegate. getResult(SharedSessionContractImplementor session, ResultSet rs, Object entity)
Extract the generated key value from the given result set.Object
AbstractReturningDelegate. performInsert(String insertSQL, SharedSessionContractImplementor session, Binder binder)
Object
AbstractSelectingDelegate. performInsert(String insertSQL, SharedSessionContractImplementor session, Binder binder)
Object
InsertGeneratedIdentifierDelegate. performInsert(String insertSQL, SharedSessionContractImplementor session, Binder binder)
Perform the indicated insert SQL statement and determine the identifier value generated.protected abstract PreparedStatement
AbstractReturningDelegate. prepare(String insertSQL, SharedSessionContractImplementor session)
protected void
AbstractReturningDelegate. releaseStatement(PreparedStatement insert, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.id.uuid
Methods in org.hibernate.id.uuid with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
UuidGenerator. generate(SharedSessionContractImplementor session, Object object)
UUID
CustomVersionOneStrategy. generateUuid(SharedSessionContractImplementor session)
UUID
StandardRandomStrategy. generateUuid(SharedSessionContractImplementor session)
UUID
CustomVersionOneStrategy. generateUUID(SharedSessionContractImplementor session)
UUID
StandardRandomStrategy. generateUUID(SharedSessionContractImplementor session)
Delegates toUUID.randomUUID()
-
Uses of SharedSessionContractImplementor in org.hibernate.internal
Classes in org.hibernate.internal that implement SharedSessionContractImplementor Modifier and Type Class Description class
AbstractSharedSessionContract
Base class for implementations ofSharedSessionContract
andSharedSessionContractImplementor
.class
SessionImpl
Concrete implementation of theSession
API.class
StatelessSessionImpl
Concrete implementation of theStatelessSession
API.Methods in org.hibernate.internal that return SharedSessionContractImplementor Modifier and Type Method Description protected SharedSessionContractImplementor
AbstractScrollableResults. getPersistenceContext()
-
Uses of SharedSessionContractImplementor in org.hibernate.loader.ast.internal
Methods in org.hibernate.loader.ast.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description protected abstract void
AbstractNaturalIdLoader. applyNaturalIdRestriction(Object bindValue, TableGroup rootTableGroup, Consumer<Predicate> predicateConsumer, BiConsumer<JdbcParameter,JdbcParameterBinding> jdbcParameterConsumer, LoaderSqlAstCreationState sqlAstCreationState, SharedSessionContractImplementor session)
Apply restriction necessary to match the given natural-id value.protected void
CompoundNaturalIdLoader. applyNaturalIdRestriction(Object bindValue, TableGroup rootTableGroup, Consumer<Predicate> predicateConsumer, BiConsumer<JdbcParameter,JdbcParameterBinding> jdbcParameterConsumer, LoaderSqlAstCreationState sqlAstCreationState, SharedSessionContractImplementor session)
protected void
SimpleNaturalIdLoader. applyNaturalIdRestriction(Object bindValue, TableGroup rootTableGroup, Consumer<Predicate> predicateConsumer, BiConsumer<JdbcParameter,JdbcParameterBinding> jdbcParameterConsumer, LoaderSqlAstCreationState sqlAstCreationState, SharedSessionContractImplementor session)
T
AbstractNaturalIdLoader. load(Object naturalIdValue, NaturalIdLoadOptions options, SharedSessionContractImplementor session)
Object
CollectionElementLoaderByIndex. load(Object key, Object index, SharedSessionContractImplementor session)
PersistentCollection<?>
CollectionLoaderBatchKey. load(Object key, SharedSessionContractImplementor session)
PersistentCollection<?>
CollectionLoaderNamedQuery. load(Object key, SharedSessionContractImplementor session)
PersistentCollection<?>
CollectionLoaderSingleKey. load(Object key, SharedSessionContractImplementor session)
PersistentCollection<?>
CollectionLoaderSubSelectFetch. load(Object triggerKey, SharedSessionContractImplementor session)
List<T>
MultiIdLoaderStandard. load(Object[] ids, MultiIdLoadOptions loadOptions, SharedSessionContractImplementor session)
T
SingleIdEntityLoaderDynamicBatch. load(Object pkValue, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
T
SingleIdEntityLoaderDynamicBatch. 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)
Object[]
SingleIdEntityLoaderProvidedQueryImpl. loadDatabaseSnapshot(Object id, SharedSessionContractImplementor session)
Object[]
SingleIdEntityLoaderSupport. loadDatabaseSnapshot(Object id, SharedSessionContractImplementor session)
<K> List<E>
MultiNaturalIdLoaderStandard. multiLoad(K[] naturalIds, MultiNaturalIdLoadOptions options, SharedSessionContractImplementor session)
<E> List<E>
MultiNaturalIdLoadingBatcher. multiLoad(Object[] naturalIdValues, MultiNaturalIdLoadOptions options, SharedSessionContractImplementor session)
Object
SingleUniqueKeyEntityLoaderStandard. resolveId(Object ukValue, 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`static void
LoaderHelper. upgradeLock(Object object, EntityEntry entry, LockOptions lockOptions, SharedSessionContractImplementor session)
Constructors in org.hibernate.loader.ast.internal with parameters of type SharedSessionContractImplementor Constructor Description CollectionLoaderSubSelectFetch(PluralAttributeMapping attributeMapping, DomainResult cachedDomainResult, SubselectFetch subselect, 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(SharedSessionContractImplementor session, Object entity, Loadable persister)
PersistentCollection<?>
CollectionLoader. load(Object key, SharedSessionContractImplementor session)
Load a collection by its key (not necessarily the same as its owner's PK).<K> List<T>
MultiIdEntityLoader. load(K[] ids, MultiIdLoadOptions options, SharedSessionContractImplementor session)
Load multiple entities by id.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.default T
SingleEntityLoader. load(Object key, LockOptions lockOptions, SharedSessionContractImplementor session)
T
SingleIdEntityLoader. load(Object pkValue, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Load by primary key value, populating the passed entity instance.default T
SingleIdEntityLoader. load(Object pkValue, Object entityInstance, LockOptions lockOptions, SharedSessionContractImplementor session)
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.loader.entity
Methods in org.hibernate.loader.entity with parameters of type SharedSessionContractImplementor Modifier and Type Method Description CacheEntityLoaderHelper.PersistenceContextEntry
CacheEntityLoaderHelper. loadFromSessionCache(EntityKey keyToLoad, LoadEventListener.LoadType options, LockOptions lockOptions, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.mapping
Methods in org.hibernate.mapping with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
Component.ValueGenerationPlan. execute(SharedSessionContractImplementor session, Object incomingObject, Object injectionContext)
Object
Component.StandardGenerationContextLocator. locateGenerationContext(SharedSessionContractImplementor session, Object incomingObject)
-
Uses of SharedSessionContractImplementor in org.hibernate.metadata
Methods in org.hibernate.metadata with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
ClassMetadata. getIdentifier(Object entity, SharedSessionContractImplementor session)
Deprecated.Get the identifier of an instance (throw an exception if no identifier property)Object[]
ClassMetadata. getPropertyValuesToInsert(Object entity, Map<Object,Object> mergeMap, SharedSessionContractImplementor session)
Deprecated.Return the values of the mapped properties of the objectObject
ClassMetadata. instantiate(Object id, SharedSessionContractImplementor session)
Deprecated.Create a class instance initialized with the given identifiervoid
ClassMetadata. setIdentifier(Object entity, Object id, SharedSessionContractImplementor session)
Deprecated.Inject the identifier value into the given entity. -
Uses of SharedSessionContractImplementor in org.hibernate.metamodel.internal
Methods in org.hibernate.metamodel.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description int
AbstractCompositeIdentifierMapping. forEachJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer 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 boolean
ModelPart. areEqual(Object one, Object other, SharedSessionContractImplementor session)
void
ModelPart. breakDownJdbcValues(Object domainValue, ModelPart.JdbcValueConsumer valueConsumer, SharedSessionContractImplementor session)
int
NaturalIdMapping. calculateHashCode(Object value, SharedSessionContractImplementor session)
Calculate the hash-code of a natural-id valueObject
Bindable. disassemble(Object value, SharedSessionContractImplementor session)
default Object
EmbeddableValuedModelPart. disassemble(Object value, SharedSessionContractImplementor session)
Object
EntityMappingType. disassemble(Object value, SharedSessionContractImplementor session)
default Object
EntityValuedModelPart. disassemble(Object value, SharedSessionContractImplementor session)
Object
NaturalIdMapping. extractNaturalIdFromEntity(Object entity, SharedSessionContractImplementor session)
Given an entity instance, extract the normalized natural id representationObject
NaturalIdMapping. extractNaturalIdFromEntityState(Object[] state, SharedSessionContractImplementor session)
Given an array of "full entity state", extract the normalized natural id representationint
Bindable. forEachDisassembledJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
default int
Bindable. forEachDisassembledJdbcValue(Object value, Clause clause, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
default int
EmbeddableValuedModelPart. forEachDisassembledJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
int
EntityMappingType. forEachDisassembledJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
default int
EntityValuedModelPart. forEachDisassembledJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
default int
Bindable. forEachJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
default int
Bindable. forEachJdbcValue(Object value, Clause clause, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
Visit each constituent JDBC value extracted from the entity instance itself.default int
EmbeddableValuedModelPart. forEachJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
default int
EntityMappingType. forEachJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer consumer, SharedSessionContractImplementor session)
default int
EntityValuedModelPart. forEachJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer consumer, SharedSessionContractImplementor session)
Object
ForeignKeyDescriptor. getAssociationKeyFromSide(Object targetObject, ForeignKeyDescriptor.Nature nature, SharedSessionContractImplementor session)
Object
EntityIdentifierMapping. getIdentifier(Object entity, SharedSessionContractImplementor session)
Deprecated.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
NaturalIdMapping. normalizeInput(Object incoming, SharedSessionContractImplementor session)
Normalize a user-provided natural-id value into the representation Hibernate uses internallyObject
GeneratedValueResolver. resolveGeneratedValue(Object[] row, Object entity, SharedSessionContractImplementor session)
Object
InDatabaseGeneratedValueResolver. resolveGeneratedValue(Object[] row, Object entity, SharedSessionContractImplementor session)
Object
InMemoryGeneratedValueResolver. resolveGeneratedValue(Object[] row, Object entity, SharedSessionContractImplementor session)
void
EntityIdentifierMapping. setIdentifier(Object entity, Object id, SharedSessionContractImplementor session)
void
NonAggregatedIdentifierMapping.IdentifierValueMapper. setIdentifier(Object entity, Object id, SharedSessionContractImplementor session)
Extract the identifier out of the given entity, returning the mapper's representationvoid
NaturalIdMapping. validateInternalForm(Object naturalIdValue, SharedSessionContractImplementor session)
Validates a natural id value(s) for the described natural-id based on the expected internal 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
-
Uses of SharedSessionContractImplementor in org.hibernate.metamodel.model.convert.internal
Methods in org.hibernate.metamodel.model.convert.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
NamedEnumValueConverter. writeValue(PreparedStatement statement, E value, int position, SharedSessionContractImplementor session)
void
OrdinalEnumValueConverter. writeValue(PreparedStatement statement, E value, int position, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.metamodel.model.convert.spi
Methods in org.hibernate.metamodel.model.convert.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
EnumValueConverter. writeValue(PreparedStatement statement, O value, int position, SharedSessionContractImplementor session)
Deprecated.Added temporarily in support of dual SQL execution until fully migrated toSelectStatement
andJdbcOperation
-
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
AbstractCollectionPersister. 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 collectionprotected 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)
protected abstract int
AbstractCollectionPersister. doUpdateRows(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
protected int
BasicCollectionPersister. doUpdateRows(Object id, PersistentCollection<?> collection, SharedSessionContractImplementor session)
protected int
OneToManyPersister. doUpdateRows(Object id, PersistentCollection<?> collection, 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
AbstractCollectionPersister. 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
AbstractCollectionPersister. 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
AbstractCollectionPersister. 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 modifiedprotected int
AbstractCollectionPersister. writeElement(PreparedStatement st, Object elt, int i, SharedSessionContractImplementor session)
Write the element to a JDBCPreparedStatement
protected int
AbstractCollectionPersister. writeElementToWhere(PreparedStatement st, Object elt, int i, SharedSessionContractImplementor session)
Write the element to a JDBCPreparedStatement
int
AbstractCollectionPersister. writeIdentifier(PreparedStatement st, Object id, int i, SharedSessionContractImplementor session)
Write the identifier to a JDBCPreparedStatement
protected int
AbstractCollectionPersister. writeIndex(PreparedStatement st, Object index, int i, SharedSessionContractImplementor session)
Write the index to a JDBCPreparedStatement
protected int
AbstractCollectionPersister. writeIndexToWhere(PreparedStatement st, Object index, int i, SharedSessionContractImplementor session)
Write the index to a JDBCPreparedStatement
protected int
AbstractCollectionPersister. writeKey(PreparedStatement st, Object key, int i, SharedSessionContractImplementor session)
Write the key to a JDBCPreparedStatement
-
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
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 void
EntityPersister. breakDownJdbcValues(Object domainValue, ModelPart.JdbcValueConsumer 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 instanceint
AbstractEntityPersister. dehydrate(Object id, Object[] fields, boolean[] includeProperty, boolean[][] includeColumns, int j, PreparedStatement st, SharedSessionContractImplementor session, boolean isUpdate)
int
AbstractEntityPersister. dehydrate(Object id, Object[] fields, Object rowId, boolean[] includeProperty, boolean[][] includeColumns, int j, PreparedStatement ps, SharedSessionContractImplementor session, int index, boolean isUpdate)
Marshall the fields of a persistent instance to a prepared statementvoid
AbstractEntityPersister. delete(Object id, Object version, int j, Object object, String sql, SharedSessionContractImplementor session, Object[] loadedState)
Perform an SQL DELETEvoid
AbstractEntityPersister. delete(Object id, Object version, Object object, SharedSessionContractImplementor session)
Delete an objectvoid
EntityPersister. delete(Object id, Object version, Object object, SharedSessionContractImplementor session)
Delete a persistent instanceObject
AbstractEntityPersister. disassemble(Object value, SharedSessionContractImplementor session)
Object
DiscriminatorType. disassemble(Object value, SharedSessionContractImplementor session)
T
DiscriminatorType. extract(CallableStatement statement, int paramIndex, SharedSessionContractImplementor session)
T
DiscriminatorType. extract(CallableStatement statement, String paramName, SharedSessionContractImplementor session)
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, SharedSessionContractImplementor session)
Object
EntityPersister. forceVersionIncrement(Object id, Object currentVersion, SharedSessionContractImplementor session)
int
AbstractEntityPersister. forEachDisassembledJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
int
AbstractEntityPersister. forEachJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer consumer, SharedSessionContractImplementor session)
Object
AbstractEntityPersister. getCollectionKey(CollectionPersister persister, Object owner, EntityEntry ownerEntry, SharedSessionContractImplementor session)
Object
AbstractEntityPersister. getCurrentVersion(Object id, SharedSessionContractImplementor session)
Retrieve the version numberObject
EntityPersister. getCurrentVersion(Object id, SharedSessionContractImplementor session)
Get the current version of the object, or return null if there is no row for the given identifier.Object[]
AbstractEntityPersister. getDatabaseSnapshot(Object id, SharedSessionContractImplementor session)
Object[]
EntityPersister. getDatabaseSnapshot(Object id, SharedSessionContractImplementor session)
Get the current database state of the object, in a "hydrated" form, without resolving identifiersObject
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 (throw an exception if no identifier property)Object
AbstractEntityPersister. getNaturalIdentifierSnapshot(Object id, SharedSessionContractImplementor session)
Object
EntityPersister. getNaturalIdentifierSnapshot(Object id, SharedSessionContractImplementor session)
Retrieve the current state of the natural-id properties from the database.Object[]
AbstractEntityPersister. getPropertyValuesToInsert(Object entity, Map<Object,Object> mergeMap, SharedSessionContractImplementor session)
Object[]
EntityPersister. getPropertyValuesToInsert(Object object, Map<Object,Object> mergeMap, SharedSessionContractImplementor session)
Return the values of the insertable properties of the object (including backrefs)Object
AbstractEntityPersister. initializeEnhancedEntityUsedAsProxy(Object entity, String nameOfAttributeBeingAccessed, SharedSessionContractImplementor session)
default Object
EntityPersister. initializeEnhancedEntityUsedAsProxy(Object entity, String nameOfAttributeBeingAccessed, SharedSessionContractImplementor session)
Called fromEnhancementAsProxyLazinessInterceptor
to trigger load of the entity's non-lazy state as well as the named attribute we are accessing if it is still uninitialized after fetching non-lazy stateprotected Object
AbstractEntityPersister. initializeLazyPropertiesFromCache(String fieldName, Object entity, SharedSessionContractImplementor session, EntityEntry entry, CacheEntry cacheEntry)
protected Object
AbstractEntityPersister. initializeLazyPropertiesFromDatastore(Object entity, Object id, EntityEntry entry, String fieldName, SharedSessionContractImplementor session)
Object
AbstractEntityPersister. initializeLazyProperty(String fieldName, Object entity, SharedSessionContractImplementor session)
Object
AbstractEntityPersister. insert(Object[] fields, boolean[] notNull, String sql, Object object, SharedSessionContractImplementor session)
Perform an SQL INSERT, and then retrieve a generated identifier.Object
AbstractEntityPersister. insert(Object[] fields, Object object, SharedSessionContractImplementor session)
void
AbstractEntityPersister. insert(Object id, Object[] fields, boolean[] notNull, int j, String sql, Object object, SharedSessionContractImplementor session)
Perform an SQL INSERT.void
AbstractEntityPersister. insert(Object id, Object[] fields, Object object, SharedSessionContractImplementor session)
Object
EntityPersister. insert(Object[] fields, Object object, SharedSessionContractImplementor session)
Persist an instance, using a natively generated identifier (optional operation)void
EntityPersister. insert(Object id, Object[] fields, Object object, SharedSessionContractImplementor session)
Persist an instanceObject
AbstractEntityPersister. instantiate(Object id, SharedSessionContractImplementor session)
Object
EntityPersister. instantiate(Object id, SharedSessionContractImplementor session)
Create a class instance initialized with the given identifierboolean
DiscriminatorType. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)
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)
Object
UniqueKeyLoadable. loadByUniqueKey(String propertyName, Object uniqueKey, SharedSessionContractImplementor session)
Load an instance of the persistent class, by a unique key other than the primary key.Object
AbstractEntityPersister. loadEntityIdByNaturalId(Object[] naturalIdValues, LockOptions lockOptions, SharedSessionContractImplementor session)
Object
EntityPersister. loadEntityIdByNaturalId(Object[] naturalIdValues, LockOptions lockOptions, SharedSessionContractImplementor session)
Load the id for the entity based on the natural id.void
AbstractEntityPersister. lock(Object id, Object version, Object object, LockMode lockMode, SharedSessionContractImplementor session)
void
AbstractEntityPersister. lock(Object id, Object version, Object object, LockOptions lockOptions, SharedSessionContractImplementor session)
void
EntityPersister. lock(Object id, Object version, Object object, LockMode lockMode, SharedSessionContractImplementor session)
Do a version check (optional operation)void
EntityPersister. lock(Object id, Object version, Object object, LockOptions lockOptions, SharedSessionContractImplementor session)
Do a version check (optional operation)List<?>
AbstractEntityPersister. multiLoad(Object[] ids, SharedSessionContractImplementor session, MultiIdLoadOptions loadOptions)
List<?>
EntityPersister. multiLoad(Object[] ids, SharedSessionContractImplementor session, MultiIdLoadOptions loadOptions)
Performs a load of multiple entities (of this type) by identifier simultaneously.void
DiscriminatorType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
DiscriminatorType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)
protected void
AbstractEntityPersister. preInsertInMemoryValueGeneration(Object[] fields, Object object, SharedSessionContractImplementor session)
void
AbstractEntityPersister. processInsertGeneratedProperties(Object id, Object entity, Object[] state, SharedSessionContractImplementor session)
void
EntityPersister. processInsertGeneratedProperties(Object id, Object entity, Object[] state, SharedSessionContractImplementor session)
Perform a select to retrieve the values of any generated properties back from the database, injecting these generated values into the given entity as well as writing this state to thePersistenceContext
.void
AbstractEntityPersister. processUpdateGeneratedProperties(Object id, Object entity, Object[] state, SharedSessionContractImplementor session)
void
EntityPersister. processUpdateGeneratedProperties(Object id, Object entity, Object[] state, SharedSessionContractImplementor session)
Perform a select to retrieve the values of any generated properties back from the database, injecting these generated values into the given entity as well as writing this state to thePersistenceContext
.Object
DiscriminatorType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map<Object,Object> copyCache)
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.void
AbstractEntityPersister. setIdentifier(Object entity, Object id, SharedSessionContractImplementor session)
void
EntityPersister. setIdentifier(Object entity, Object id, SharedSessionContractImplementor session)
Inject the identifier value into the given entity.void
AbstractEntityPersister. update(Object id, Object[] fields, int[] dirtyFields, boolean hasDirtyCollection, Object[] oldFields, Object oldVersion, Object object, Object rowId, SharedSessionContractImplementor session)
Update an objectboolean
AbstractEntityPersister. update(Object id, Object[] fields, Object[] oldFields, Object rowId, boolean[] includeProperty, int j, Object oldVersion, Object object, String sql, SharedSessionContractImplementor session)
void
EntityPersister. update(Object id, Object[] fields, int[] dirtyFields, boolean hasDirtyCollection, Object[] oldFields, Object oldVersion, Object object, Object rowId, SharedSessionContractImplementor session)
Update a persistent instancevoid
AbstractEntityPersister. updateOrInsert(Object id, Object[] fields, Object[] oldFields, Object rowId, boolean[] includeProperty, int j, Object oldVersion, Object object, String sql, SharedSessionContractImplementor session)
Perform an SQL UPDATE or SQL INSERT -
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(CollectionPersister persister, 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, JdbcCall procedureCall, CallableStatement statement, ProcedureParameterMetadataImplementor parameterMetadata, SharedSessionContractImplementor session)
ProcedureParameterImplementor
NamedCallableQueryMemento.ParameterMemento. resolve(SharedSessionContractImplementor session)
JdbcCallFunctionReturn
FunctionReturnImplementor. toJdbcFunctionReturn(SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.property.access.internal
Methods in org.hibernate.property.access.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
ChainedPropertyAccessImpl. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)
Object
PropertyAccessCompositeUserTypeImpl. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)
Object
PropertyAccessMapImpl.GetterImpl. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.property.access.spi
Methods in org.hibernate.property.access.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
Getter. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)
Get the property value from the given owner instance.Object
GetterFieldImpl. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)
Object
GetterMethodImpl. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.proxy
Methods in org.hibernate.proxy that return SharedSessionContractImplementor Modifier and Type Method Description SharedSessionContractImplementor
AbstractLazyInitializer. getSession()
SharedSessionContractImplementor
LazyInitializer. getSession()
Get the session to which this proxy is associated, or null if it is not attached.Methods in org.hibernate.proxy with parameters of type SharedSessionContractImplementor Modifier and Type Method Description Object
AbstractLazyInitializer. getImplementation(SharedSessionContractImplementor s)
Object
LazyInitializer. getImplementation(SharedSessionContractImplementor session)
Return the underlying persistent object in the given session, or null if not contained in this session's persistence context.HibernateProxy
ProxyFactory. getProxy(Object id, SharedSessionContractImplementor session)
Create a new proxy instancevoid
AbstractLazyInitializer. setSession(SharedSessionContractImplementor s)
void
LazyInitializer. setSession(SharedSessionContractImplementor session)
Associate the proxy with the given session.Constructors in org.hibernate.proxy with parameters of type SharedSessionContractImplementor Constructor Description AbstractLazyInitializer(String entityName, Object id, SharedSessionContractImplementor session)
Main constructor. -
Uses of SharedSessionContractImplementor in org.hibernate.proxy.map
Methods in org.hibernate.proxy.map with parameters of type SharedSessionContractImplementor Modifier and Type Method Description HibernateProxy
MapProxyFactory. getProxy(Object id, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.proxy.pojo
Constructors in org.hibernate.proxy.pojo with parameters of type SharedSessionContractImplementor Constructor Description BasicLazyInitializer(String entityName, Class<?> persistentClass, Object id, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, SharedSessionContractImplementor session, boolean overridesEquals)
-
Uses of SharedSessionContractImplementor in org.hibernate.proxy.pojo.bytebuddy
Methods in org.hibernate.proxy.pojo.bytebuddy with parameters of type SharedSessionContractImplementor Modifier and Type Method Description HibernateProxy
ByteBuddyProxyFactory. getProxy(Object id, SharedSessionContractImplementor session)
Constructors in org.hibernate.proxy.pojo.bytebuddy with parameters of type SharedSessionContractImplementor Constructor Description ByteBuddyInterceptor(String entityName, Class<?> persistentClass, Class<?>[] interfaces, Object id, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, SharedSessionContractImplementor session, boolean overridesEquals)
-
Uses of SharedSessionContractImplementor in org.hibernate.query
Methods in org.hibernate.query with parameters of type SharedSessionContractImplementor Modifier and Type Method Description J
OutputableType. extract(CallableStatement statement, int paramIndex, SharedSessionContractImplementor session)
Perform the extractionJ
OutputableType. extract(CallableStatement statement, String paramName, SharedSessionContractImplementor session)
Perform the extraction -
Uses of SharedSessionContractImplementor in org.hibernate.query.criteria.internal
Methods in org.hibernate.query.criteria.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description <T> SqmQueryImplementor<T>
NamedCriteriaQueryMementoImpl. toQuery(SharedSessionContractImplementor session)
<T> SqmQueryImplementor<T>
NamedCriteriaQueryMementoImpl. toQuery(SharedSessionContractImplementor session, Class<T> resultType)
<T> SqmSelectionQuery<T>
NamedCriteriaQueryMementoImpl. toSelectionQuery(Class<T> resultType, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.query.derived
Methods in org.hibernate.query.derived with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
AnonymousTupleBasicValuedModelPart. breakDownJdbcValues(Object domainValue, ModelPart.JdbcValueConsumer valueConsumer, SharedSessionContractImplementor session)
void
AnonymousTupleEmbeddableValuedModelPart. breakDownJdbcValues(Object domainValue, ModelPart.JdbcValueConsumer valueConsumer, SharedSessionContractImplementor session)
void
AnonymousTupleEntityValuedModelPart. breakDownJdbcValues(Object domainValue, ModelPart.JdbcValueConsumer valueConsumer, SharedSessionContractImplementor session)
void
AnonymousTupleTableGroupProducer. breakDownJdbcValues(Object domainValue, ModelPart.JdbcValueConsumer 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)
int
AnonymousTupleBasicValuedModelPart. forEachDisassembledJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
int
AnonymousTupleEmbeddableValuedModelPart. forEachDisassembledJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
int
AnonymousTupleEntityValuedModelPart. forEachDisassembledJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
int
AnonymousTupleTableGroupProducer. forEachDisassembledJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
int
AnonymousTupleBasicValuedModelPart. forEachJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer valuesConsumer, SharedSessionContractImplementor session)
int
AnonymousTupleEmbeddableValuedModelPart. forEachJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer consumer, SharedSessionContractImplementor session)
int
AnonymousTupleEntityValuedModelPart. forEachJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer consumer, SharedSessionContractImplementor session)
Object
AnonymousTupleBasicEntityIdentifierMapping. getIdentifier(Object entity, SharedSessionContractImplementor session)
Object
AnonymousTupleEmbeddedEntityIdentifierMapping. getIdentifier(Object entity, SharedSessionContractImplementor session)
Object
AnonymousTupleNonAggregatedEntityIdentifierMapping. getIdentifier(Object entity, 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 persistenceContext)
-
Uses of SharedSessionContractImplementor in org.hibernate.query.named
Methods in org.hibernate.query.named with parameters of type SharedSessionContractImplementor Modifier and Type Method Description QueryParameterImplementor
NamedQueryMemento.ParameterMemento. resolve(SharedSessionContractImplementor session)
<T> QueryImplementor<T>
NamedQueryMemento. toQuery(SharedSessionContractImplementor session)
<T> QueryImplementor<T>
NamedQueryMemento. toQuery(SharedSessionContractImplementor session, Class<T> javaType)
-
Uses of SharedSessionContractImplementor in org.hibernate.query.spi
Methods in org.hibernate.query.spi that return SharedSessionContractImplementor Modifier and Type Method Description SharedSessionContractImplementor
AbstractCommonQueryContract. getSession()
SharedSessionContractImplementor
DomainQueryExecutionContext. getSession()
The underlying sessionSharedSessionContractImplementor
QueryImplementor. getSession()
Methods in org.hibernate.query.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description QueryKey.ParameterBindingsMemento
QueryParameterBindings. generateQueryKeyMemento(SharedSessionContractImplementor persistenceContext)
Generate a "memento" for these parameter bindings that can be used in creating aQueryKey
Constructors in org.hibernate.query.spi with parameters of type SharedSessionContractImplementor Constructor Description AbstractCommonQueryContract(SharedSessionContractImplementor session)
AbstractQuery(SharedSessionContractImplementor session)
AbstractSelectionQuery(SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.query.sql.internal
Methods in org.hibernate.query.sql.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description <T> NativeQueryImplementor<T>
NamedNativeQueryMementoImpl. toQuery(SharedSessionContractImplementor session)
<T> NativeQueryImplementor<T>
NamedNativeQueryMementoImpl. toQuery(SharedSessionContractImplementor session, Class<T> resultType)
<T> NativeQueryImplementor<T>
NamedNativeQueryMementoImpl. toQuery(SharedSessionContractImplementor session, String resultSetMappingName)
Constructors in org.hibernate.query.sql.internal with parameters of type SharedSessionContractImplementor Constructor Description NativeQueryImpl(String sqlString, SharedSessionContractImplementor session)
NativeQueryImpl(NamedNativeQueryMemento memento, Class<R> resultJavaType, SharedSessionContractImplementor session)
Constructs a NativeQueryImpl given a sql query defined in the mappings.NativeQueryImpl(NamedNativeQueryMemento memento, String resultSetMappingName, SharedSessionContractImplementor session)
Constructs a NativeQueryImpl given a sql query defined in the mappings.NativeQueryImpl(NamedNativeQueryMemento memento, Supplier<ResultSetMappingImpl> 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 that return SharedSessionContractImplementor Modifier and Type Method Description SharedSessionContractImplementor
SqmJdbcExecutionContextAdapter. getSession()
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<List<JdbcParameter>>>> jdbcParamXref, MappingMetamodel domainModel, Function<NavigablePath,TableGroup> tableGroupLocator, SqmParameterMappingModelResolutionAccess mappingModelResolutionAccess, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.query.sqm.mutation.internal.temptable
-
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.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
DelegatingExecutionContext. getSession()
-
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()
-
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 void
QueryCachePutManager. finishUp(SharedSessionContractImplementor session)
-
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
QueryCachePutManagerDisabledImpl. finishUp(SharedSessionContractImplementor session)
void
QueryCachePutManagerEnabledImpl. finishUp(SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.sql.results.graph.entity.internal
Methods in org.hibernate.sql.results.graph.entity.internal with parameters of type SharedSessionContractImplementor Modifier and Type Method Description protected static Object
AbstractBatchEntitySelectFetchInitializer. loadInstance(EntityKey entityKey, ToOneAttributeMapping referencedModelPart, SharedSessionContractImplementor session)
protected static void
BatchEntityInsideEmbeddableSelectFetchInitializer. setInstance(EntityInitializer entityInitializer, ToOneAttributeMapping referencedModelPart, String rootEmbeddablePropertyName, int propertyIndex, Object loadedInstance, Object embeddableParentInstance, EntityKey parentEntityKey, EntityEntry parentEntityEntry, SharedSessionContractImplementor session)
protected static void
BatchEntitySelectFetchInitializer. setInstance(EntityInitializer entityInitializer, ToOneAttributeMapping referencedModelPart, String propertyName, int propertyIndex, SharedSessionContractImplementor session, Object instance, Object parentInstance, EntityEntry entry)
-
Uses of SharedSessionContractImplementor in org.hibernate.sql.results.internal
Methods in org.hibernate.sql.results.internal that return SharedSessionContractImplementor Modifier and Type Method Description SharedSessionContractImplementor
RowProcessingStateStandardImpl. getSession()
-
Uses of SharedSessionContractImplementor in org.hibernate.sql.results.internal.domain
-
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
AbstractJdbcValues. 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 default 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.entity
-
Uses of SharedSessionContractImplementor in org.hibernate.type
Methods in org.hibernate.type with parameters of type SharedSessionContractImplementor Modifier and Type Method Description 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)
Object
Type. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)
Reconstruct the object from its disassembled state.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)
Called before assembling a query result set from the query cache, to allow batch fetching of entities missing from the second-level cache.boolean
CollectionType. contains(Object collection, Object childObject, SharedSessionContractImplementor session)
boolean
CustomCollectionType. contains(Object collection, Object entity, SharedSessionContractImplementor session)
static void
TypeHelper. deepCopy(Object[] values, Type[] types, boolean[] copy, Object[] target, SharedSessionContractImplementor session)
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)
Serializable
Type. disassemble(Object value, SharedSessionContractImplementor session, Object owner)
Return a disassembled representation of the object.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 int
BasicType. forEachDisassembledJdbcValue(Object value, Clause clause, int offset, Bindable.JdbcValuesConsumer 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)
Get an iterator over the element set of the collection, which may not yet be wrappedprotected 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-refObject
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)
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(Object oldState, Object currentState, boolean[] checkable, SharedSessionContractImplementor session)
Should the parent be considered dirty, given both the old and current value?boolean
Type. isDirty(Object old, 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(Object dbState, 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)
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)
void
MetaType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
MetaType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)
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, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
Bind a value represented by an instance of themapped class
to the JDBC prepared statement, ignoring some columns as dictated by the 'settable' parameter.void
Type. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)
Bind a value represented by an instance of themapped class
to the JDBC prepared statement.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)
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)
Object
Type. replace(Object original, 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.Object
Type. replace(Object original, 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.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 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)
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 static Clock
ClockHelper. forPrecision(Integer precision, SharedSessionContractImplementor session)
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)
T
DbTimestampJavaType. next(T current, Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
Deprecated.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)
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)
T
DbTimestampJavaType. seed(Long length, Integer precision, Integer scale, SharedSessionContractImplementor session)
Deprecated.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)
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.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)
Retrieve an instance of the mapped class from a JDBC resultset.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 mapped class to a prepared statement.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
-