Uses of Interface
org.hibernate.engine.spi.SharedSessionContractImplementor
-
-
Uses of SharedSessionContractImplementor in org.hibernate
Methods in org.hibernate with parameters of type SharedSessionContractImplementor Modifier and Type Method Description static LobCreator
Hibernate. getLobCreator(SharedSessionContractImplementor session)
Obtain a lob creator for the given session. -
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 java.lang.Object
LazyPropertyInitializer. initializeLazyProperty(java.lang.String fieldName, java.lang.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 java.lang.Object
EnhancementAsProxyLazinessInterceptor. forceInitialize(java.lang.Object target, java.lang.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, java.util.function.BiFunction<SharedSessionContractImplementor,java.lang.Boolean,T> work, java.lang.String entityName, java.lang.String attributeName)
Constructors in org.hibernate.bytecode.enhance.spi.interceptor with parameters of type SharedSessionContractImplementor Constructor Description AbstractLazyLoadInterceptor(java.lang.String entityName, SharedSessionContractImplementor session)
EnhancementAsProxyLazinessInterceptor(java.lang.String entityName, java.util.Set<java.lang.String> identifierAttributeNames, CompositeType nonAggregatedCidMapper, EntityKey entityKey, SharedSessionContractImplementor session)
LazyAttributeLoadingInterceptor(java.lang.String entityName, java.lang.Object identifier, java.util.Set<java.lang.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(java.lang.Object entity, EntityKey entityKey, SharedSessionContractImplementor session)
LazyAttributeLoadingInterceptor
BytecodeEnhancementMetadata. injectInterceptor(java.lang.Object entity, java.lang.Object identifier, SharedSessionContractImplementor session)
Build and inject an interceptor instance into the enhanced entity.void
BytecodeEnhancementMetadata. injectInterceptor(java.lang.Object entity, PersistentAttributeInterceptor interceptor, 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 java.lang.Object
CacheKeysFactory. createNaturalIdKey(java.lang.Object[] naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)
CacheTransactionSynchronization
AbstractRegionFactory. createTransactionContext(SharedSessionContractImplementor session)
default CacheTransactionSynchronization
RegionFactory. createTransactionContext(SharedSessionContractImplementor session)
static QueryKey
QueryKey. generateQueryKey(java.lang.String queryString, QueryParameters queryParameters, java.util.Set filterKeys, SharedSessionContractImplementor session, CacheableResultTransformer customTransformer)
Generates a QueryKey.java.util.List
QueryCache. get(QueryKey key, Type[] returnTypes, boolean isNaturalKeyLookup, java.util.Set<java.io.Serializable> spaces, SharedSessionContractImplementor session)
Deprecated.Get results from the cache.java.util.List
QueryResultsCache. get(QueryKey key, java.lang.String[] spaces, Type[] returnTypes, SharedSessionContractImplementor session)
Get results from the cache.java.util.List
QueryResultsCache. get(QueryKey key, java.util.Set<java.io.Serializable> spaces, Type[] returnTypes, SharedSessionContractImplementor session)
Get results from the cache.default java.util.List
QueryResultsCache. get(QueryKey key, Type[] returnTypes, boolean isNaturalKeyLookup, java.util.Set<java.io.Serializable> spaces, SharedSessionContractImplementor session)
java.lang.Object
DirectAccessRegion. getFromCache(java.lang.Object key, SharedSessionContractImplementor session)
Get value by keydefault void
TimestampsCache. invalidate(java.io.Serializable[] spaces, SharedSessionContractImplementor session)
void
TimestampsCache. invalidate(java.lang.String[] spaces, SharedSessionContractImplementor session)
Perform invalidation of the passed spaces (table names) against the timestamps region datavoid
UpdateTimestampsCache. invalidate(java.io.Serializable[] spaces, SharedSessionContractImplementor session)
Deprecated.Perform invalidation.boolean
TimestampsCache. isUpToDate(java.lang.String[] spaces, java.lang.Long timestamp, SharedSessionContractImplementor session)
Perform an up-to-date check for the given set of query spaces as part of verifying the validity of cached query results.default boolean
TimestampsCache. isUpToDate(java.util.Set<java.io.Serializable> spaces, java.lang.Long timestamp, SharedSessionContractImplementor session)
boolean
UpdateTimestampsCache. isUpToDate(java.util.Set<java.io.Serializable> spaces, java.lang.Long timestamp, SharedSessionContractImplementor session)
Deprecated.Perform an up-to-date check for the given set of query spaces.default void
TimestampsCache. preInvalidate(java.io.Serializable[] spaces, SharedSessionContractImplementor session)
void
TimestampsCache. preInvalidate(java.lang.String[] spaces, SharedSessionContractImplementor session)
Perform pre-invalidation of the passed spaces (table names) against the timestamps region datavoid
UpdateTimestampsCache. preInvalidate(java.io.Serializable[] spaces, SharedSessionContractImplementor session)
Deprecated.Perform pre-invalidation.boolean
QueryCache. put(QueryKey key, Type[] returnTypes, java.util.List result, boolean isNaturalKeyLookup, SharedSessionContractImplementor session)
Deprecated.Put a result into the query cache.boolean
QueryResultsCache. put(QueryKey key, java.util.List result, Type[] returnTypes, SharedSessionContractImplementor session)
Put a result into the query cache.default boolean
QueryResultsCache. put(QueryKey key, Type[] returnTypes, java.util.List result, boolean isNaturalKeyLookup, SharedSessionContractImplementor session)
void
DirectAccessRegion. putIntoCache(java.lang.Object key, java.lang.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, java.lang.Object key, java.lang.Object value, java.lang.Object version)
Called afterQuery an item has been inserted (afterQuery the transaction completes), instead of calling release().boolean
NaturalIdDataAccess. afterInsert(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value)
Called afterQuery an item has been inserted (afterQuery the transaction completes), instead of calling release().boolean
EntityDataAccess. afterUpdate(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object currentVersion, java.lang.Object previousVersion, SoftLock lock)
Called afterQuery an item has been updated (afterQuery the transaction completes), instead of calling release().boolean
NaturalIdDataAccess. afterUpdate(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, SoftLock lock)
Called afterQuery an item has been updated (afterQuery the transaction completes), instead of calling release().java.lang.Object
NaturalIdDataAccess. generateCacheKey(java.lang.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.java.lang.Object
CachedDomainDataAccess. get(SharedSessionContractImplementor session, java.lang.Object key)
Attempt to retrieve an object from the cache.boolean
EntityDataAccess. insert(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object version)
Called afterQuery an item has been inserted (beforeQuery the transaction completes), instead of calling evict().boolean
NaturalIdDataAccess. insert(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value)
Called afterQuery an item has been inserted (beforeQuery the transaction completes), instead of calling evict().SoftLock
CachedDomainDataAccess. lockItem(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object version)
We are going to attempt to update/delete the keyed object.boolean
CachedDomainDataAccess. putFromLoad(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object version)
Attempt to cache an object, afterQuery loading from the database.boolean
CachedDomainDataAccess. putFromLoad(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object version, boolean minimalPutOverride)
Attempt to cache an object, afterQuery loading from the database, explicitly specifying the minimalPut behavior.void
CachedDomainDataAccess. remove(SharedSessionContractImplementor session, java.lang.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, java.lang.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, java.lang.Object key, java.lang.Object value, java.lang.Object currentVersion, java.lang.Object previousVersion)
Called afterQuery an item has been updated (beforeQuery the transaction completes), instead of calling evict().boolean
NaturalIdDataAccess. update(SharedSessionContractImplementor session, java.lang.Object key, java.lang.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(java.lang.Object[] state, EntityPersister persister, java.lang.Object version, SharedSessionContractImplementor session, java.lang.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, java.lang.Object key, java.lang.Object value)
boolean
EntityNonStrictReadWriteAccess. afterInsert(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object version)
boolean
EntityReadOnlyAccess. afterInsert(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object version)
boolean
EntityReadWriteAccess. afterInsert(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object version)
boolean
EntityTransactionalAccess. afterInsert(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object version)
boolean
NaturalIdNonStrictReadWriteAccess. afterInsert(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value)
boolean
NaturalIdReadWriteAccess. afterInsert(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value)
boolean
AbstractNaturalIdDataAccess. afterUpdate(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, SoftLock lock)
boolean
EntityNonStrictReadWriteAccess. afterUpdate(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object currentVersion, java.lang.Object previousVersion, SoftLock lock)
boolean
EntityReadOnlyAccess. afterUpdate(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object currentVersion, java.lang.Object previousVersion, SoftLock lock)
boolean
EntityReadWriteAccess. afterUpdate(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object currentVersion, java.lang.Object previousVersion, SoftLock lock)
boolean
EntityTransactionalAccess. afterUpdate(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object currentVersion, java.lang.Object previousVersion, SoftLock lock)
boolean
NaturalIdReadWriteAccess. afterUpdate(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, SoftLock lock)
default void
StorageAccess. clearCache(SharedSessionContractImplementor session)
Clear data from the cacheprotected void
AbstractReadWriteAccess. decrementLock(SharedSessionContractImplementor session, java.lang.Object key, AbstractReadWriteAccess.SoftLockImpl lock)
java.lang.Object
AbstractNaturalIdDataAccess. generateCacheKey(java.lang.Object[] naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)
java.lang.Object
NaturalIdReadWriteAccess. generateCacheKey(java.lang.Object[] naturalIdValues, EntityPersister rootEntityDescriptor, SharedSessionContractImplementor session)
java.lang.Object
AbstractCachedDomainDataAccess. get(SharedSessionContractImplementor session, java.lang.Object key)
java.lang.Object
AbstractReadWriteAccess. get(SharedSessionContractImplementor session, java.lang.Object key)
Returnsnull
if the item is not readable.java.lang.Object
CollectionReadWriteAccess. get(SharedSessionContractImplementor session, java.lang.Object key)
java.lang.Object
DirectAccessRegionTemplate. getFromCache(java.lang.Object key, SharedSessionContractImplementor session)
java.lang.Object
StorageAccess. getFromCache(java.lang.Object key, SharedSessionContractImplementor session)
Get an item from the cache.protected void
AbstractReadWriteAccess. handleLockExpiry(SharedSessionContractImplementor session, java.lang.Object key, AbstractReadWriteAccess.Lockable lock)
boolean
AbstractNaturalIdDataAccess. insert(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value)
boolean
EntityNonStrictReadWriteAccess. insert(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object version)
boolean
EntityReadOnlyAccess. insert(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object version)
boolean
EntityReadWriteAccess. insert(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object version)
boolean
EntityTransactionalAccess. insert(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object version)
boolean
NaturalIdNonStrictReadWriteAccess. insert(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value)
boolean
NaturalIdReadWriteAccess. insert(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value)
SoftLock
AbstractCollectionDataAccess. lockItem(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object version)
SoftLock
AbstractEntityDataAccess. lockItem(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object version)
SoftLock
AbstractNaturalIdDataAccess. lockItem(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object version)
SoftLock
AbstractReadWriteAccess. lockItem(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object version)
SoftLock
CollectionReadWriteAccess. lockItem(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object version)
boolean
AbstractCachedDomainDataAccess. putFromLoad(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object version)
boolean
AbstractCachedDomainDataAccess. putFromLoad(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object version, boolean minimalPutOverride)
boolean
AbstractReadWriteAccess. putFromLoad(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object version)
boolean
AbstractReadWriteAccess. putFromLoad(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object version, boolean minimalPutOverride)
boolean
CollectionReadWriteAccess. putFromLoad(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object version)
default void
DomainDataStorageAccess. putFromLoad(java.lang.Object key, java.lang.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(java.lang.Object key, java.lang.Object value, SharedSessionContractImplementor session)
void
StorageAccess. putIntoCache(java.lang.Object key, java.lang.Object value, SharedSessionContractImplementor session)
Put an item into the cachevoid
AbstractCachedDomainDataAccess. remove(SharedSessionContractImplementor session, java.lang.Object key)
void
AbstractReadWriteAccess. remove(SharedSessionContractImplementor session, java.lang.Object key)
void
EntityNonStrictReadWriteAccess. remove(SharedSessionContractImplementor session, java.lang.Object key)
void
NaturalIdNonStrictReadWriteAccess. remove(SharedSessionContractImplementor session, java.lang.Object key)
void
AbstractCachedDomainDataAccess. removeAll(SharedSessionContractImplementor session)
default void
StorageAccess. removeFromCache(java.lang.Object key, SharedSessionContractImplementor session)
Remove an item from the cache by keyvoid
AbstractCollectionDataAccess. unlockItem(SharedSessionContractImplementor session, java.lang.Object key, SoftLock lock)
void
AbstractEntityDataAccess. unlockItem(SharedSessionContractImplementor session, java.lang.Object key, SoftLock lock)
void
AbstractNaturalIdDataAccess. unlockItem(SharedSessionContractImplementor session, java.lang.Object key, SoftLock lock)
void
AbstractReadWriteAccess. unlockItem(SharedSessionContractImplementor session, java.lang.Object key, SoftLock lock)
void
CollectionNonStrictReadWriteAccess. unlockItem(SharedSessionContractImplementor session, java.lang.Object key, SoftLock lock)
void
CollectionReadWriteAccess. unlockItem(SharedSessionContractImplementor session, java.lang.Object key, SoftLock lock)
void
EntityNonStrictReadWriteAccess. unlockItem(SharedSessionContractImplementor session, java.lang.Object key, SoftLock lock)
Since this is a non-strict read/write strategy item locking is not used.void
EntityReadOnlyAccess. unlockItem(SharedSessionContractImplementor session, java.lang.Object key, SoftLock lock)
void
NaturalIdNonStrictReadWriteAccess. unlockItem(SharedSessionContractImplementor session, java.lang.Object key, SoftLock lock)
void
NaturalIdReadOnlyAccess. unlockItem(SharedSessionContractImplementor session, java.lang.Object key, SoftLock lock)
boolean
AbstractNaturalIdDataAccess. update(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value)
boolean
EntityNonStrictReadWriteAccess. update(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object currentVersion, java.lang.Object previousVersion)
boolean
EntityReadOnlyAccess. update(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object currentVersion, java.lang.Object previousVersion)
boolean
EntityReadWriteAccess. update(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object currentVersion, java.lang.Object previousVersion)
boolean
EntityTransactionalAccess. update(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value, java.lang.Object currentVersion, java.lang.Object previousVersion)
boolean
NaturalIdNonStrictReadWriteAccess. update(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value)
boolean
NaturalIdReadWriteAccess. update(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object value)
-
Uses of SharedSessionContractImplementor in org.hibernate.collection.spi
Methods in org.hibernate.collection.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description boolean
PersistentCollection. setCurrentSession(SharedSessionContractImplementor session)
Associate the collection with the given session.boolean
PersistentCollection. unsetSession(SharedSessionContractImplementor currentSession)
Disassociate this collection from the given session. -
Uses of SharedSessionContractImplementor in org.hibernate.dialect
Methods in org.hibernate.dialect with parameters of type SharedSessionContractImplementor Modifier and Type Method Description java.sql.Blob
LobMergeStrategy. mergeBlob(java.sql.Blob original, java.sql.Blob target, SharedSessionContractImplementor session)
Perform merge onBlob
values.java.sql.Clob
LobMergeStrategy. mergeClob(java.sql.Clob original, java.sql.Clob target, SharedSessionContractImplementor session)
Perform merge onClob
values.java.sql.NClob
LobMergeStrategy. mergeNClob(java.sql.NClob original, java.sql.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 java.io.Serializable
GetGeneratedKeysDelegate. executeAndExtract(java.sql.PreparedStatement insert, SharedSessionContractImplementor session)
protected java.sql.PreparedStatement
GetGeneratedKeysDelegate. prepare(java.lang.String insertSQL, SharedSessionContractImplementor session)
protected java.sql.PreparedStatement
Oracle12cGetGeneratedKeysDelegate. prepare(java.lang.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(java.io.Serializable id, java.lang.Object version, java.lang.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(java.io.Serializable id, java.lang.Object version, java.lang.Object object, int timeout, SharedSessionContractImplementor session)
void
OptimisticLockingStrategy. lock(java.io.Serializable id, java.lang.Object version, java.lang.Object object, int timeout, SharedSessionContractImplementor session)
void
PessimisticForceIncrementLockingStrategy. lock(java.io.Serializable id, java.lang.Object version, java.lang.Object object, int timeout, SharedSessionContractImplementor session)
void
PessimisticReadSelectLockingStrategy. lock(java.io.Serializable id, java.lang.Object version, java.lang.Object object, int timeout, SharedSessionContractImplementor session)
void
PessimisticReadUpdateLockingStrategy. lock(java.io.Serializable id, java.lang.Object version, java.lang.Object object, int timeout, SharedSessionContractImplementor session)
void
PessimisticWriteSelectLockingStrategy. lock(java.io.Serializable id, java.lang.Object version, java.lang.Object object, int timeout, SharedSessionContractImplementor session)
void
PessimisticWriteUpdateLockingStrategy. lock(java.io.Serializable id, java.lang.Object version, java.lang.Object object, int timeout, SharedSessionContractImplementor session)
void
SelectLockingStrategy. lock(java.io.Serializable id, java.lang.Object version, java.lang.Object object, int timeout, SharedSessionContractImplementor session)
void
UpdateLockingStrategy. lock(java.io.Serializable id, java.lang.Object version, java.lang.Object object, int timeout, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.engine.query.spi
Methods in org.hibernate.engine.query.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description protected void
NativeSQLQueryPlan. coordinateSharedCacheCleanup(SharedSessionContractImplementor session)
int
HQLQueryPlan. performExecuteUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)
Coordinates the efforts to perform an execution across all the included query translators.int
NativeSQLQueryPlan. performExecuteUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)
Performs the execute queryjava.util.List
HQLQueryPlan. performList(QueryParameters queryParameters, SharedSessionContractImplementor session)
Coordinates the efforts to perform a list across all the included query translators.ScrollableResultsImplementor
HQLQueryPlan. performScroll(QueryParameters queryParameters, SharedSessionContractImplementor session)
Coordinates the efforts to perform a scroll across all the included query translators. -
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.Methods in org.hibernate.engine.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description static java.util.Iterator
CascadingActions. getLoadedElementsIterator(SharedSessionContractImplementor session, CollectionType collectionType, java.lang.Object collection)
Iterate just the elements of the collection that are already there.boolean
EntityEntry. isNullifiable(boolean earlyInsert, SharedSessionContractImplementor session)
boolean
QueryParameters. isReadOnly(SharedSessionContractImplementor session)
Should entities and proxies loaded by the Query be put in read-only mode? If the read-only/modifiable setting was not initialized (i.e., QueryParameters#isReadOnlyInitialized() == false), then the default read-only/modifiable setting for the persistence context is returned instead.void
QueryParameters. processFilters(java.lang.String sql, SharedSessionContractImplementor session)
-
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.hql.spi
Methods in org.hibernate.hql.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description int
QueryTranslator. executeUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)
Perform a bulk update/delete operation given the underlying query definition.java.util.List
QueryTranslator. list(SharedSessionContractImplementor session, QueryParameters queryParameters)
Perform a list operation given the underlying query definition.ScrollableResultsImplementor
QueryTranslator. scroll(QueryParameters queryParameters, SharedSessionContractImplementor session)
Perform a scroll operation given the underlying query definition. -
Uses of SharedSessionContractImplementor in org.hibernate.hql.spi.id
Methods in org.hibernate.hql.spi.id with parameters of type SharedSessionContractImplementor Modifier and Type Method Description int
MultiTableBulkIdStrategy.DeleteHandler. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)
int
MultiTableBulkIdStrategy.UpdateHandler. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)
int
TableBasedDeleteHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)
int
TableBasedUpdateHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)
protected void
TableBasedDeleteHandlerImpl. handleAddedParametersOnDelete(java.sql.PreparedStatement ps, SharedSessionContractImplementor session)
protected void
TableBasedUpdateHandlerImpl. handleAddedParametersOnUpdate(java.sql.PreparedStatement ps, SharedSessionContractImplementor session, int position)
protected int
TableBasedDeleteHandlerImpl. handlePrependedParametersOnIdSelection(java.sql.PreparedStatement ps, SharedSessionContractImplementor session, int pos)
protected int
TableBasedUpdateHandlerImpl. handlePrependedParametersOnIdSelection(java.sql.PreparedStatement ps, SharedSessionContractImplementor session, int pos)
protected void
AbstractTableBasedBulkIdHandler. prepareForUse(Queryable persister, SharedSessionContractImplementor session)
protected void
AbstractTableBasedBulkIdHandler. releaseFromUse(Queryable persister, SharedSessionContractImplementor session)
protected java.util.List<java.lang.Object[]>
AbstractIdsBulkIdHandler. selectIds(SharedSessionContractImplementor session, QueryParameters queryParameters)
-
Uses of SharedSessionContractImplementor in org.hibernate.hql.spi.id.cte
Methods in org.hibernate.hql.spi.id.cte with parameters of type SharedSessionContractImplementor Modifier and Type Method Description int
CteValuesListDeleteHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)
int
CteValuesListUpdateHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)
protected CteValuesListBuilder
AbstractCteValuesListBulkIdHandler. prepareCteStatement(SharedSessionContractImplementor session, QueryParameters queryParameters)
-
Uses of SharedSessionContractImplementor in org.hibernate.hql.spi.id.inline
Methods in org.hibernate.hql.spi.id.inline with parameters of type SharedSessionContractImplementor Modifier and Type Method Description int
AbstractInlineIdsDeleteHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)
int
AbstractInlineIdsUpdateHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)
protected IdsClauseBuilder
AbstractInlineIdsBulkIdHandler. prepareInlineStatement(SharedSessionContractImplementor session, QueryParameters queryParameters)
-
Uses of SharedSessionContractImplementor in org.hibernate.hql.spi.id.local
Methods in org.hibernate.hql.spi.id.local with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
Helper. createTempTable(IdTableInfoImpl idTableInfo, TempTableDdlTransactionHandling ddlTransactionHandling, SharedSessionContractImplementor session)
protected void
Helper. releaseTempTable(IdTableInfoImpl idTableInfo, AfterUseAction afterUseAction, TempTableDdlTransactionHandling ddlTransactionHandling, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.hql.spi.id.persistent
Methods in org.hibernate.hql.spi.id.persistent with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
Helper. bindSessionIdentifier(java.sql.PreparedStatement ps, SharedSessionContractImplementor session, int position)
void
Helper. cleanUpRows(java.lang.String tableName, SharedSessionContractImplementor session)
protected void
DeleteHandlerImpl. handleAddedParametersOnDelete(java.sql.PreparedStatement ps, SharedSessionContractImplementor session)
protected void
UpdateHandlerImpl. handleAddedParametersOnUpdate(java.sql.PreparedStatement ps, SharedSessionContractImplementor session, int position)
protected int
DeleteHandlerImpl. handlePrependedParametersOnIdSelection(java.sql.PreparedStatement ps, SharedSessionContractImplementor session, int pos)
protected int
UpdateHandlerImpl. handlePrependedParametersOnIdSelection(java.sql.PreparedStatement ps, SharedSessionContractImplementor session, int pos)
protected void
DeleteHandlerImpl. releaseFromUse(Queryable persister, SharedSessionContractImplementor session)
protected void
UpdateHandlerImpl. releaseFromUse(Queryable persister, SharedSessionContractImplementor session)
-
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, java.sql.PreparedStatement ps, java.lang.Object entity)
java.io.Serializable
IdentityGenerator.InsertSelectDelegate. determineGeneratedIdentifier(SharedSessionContractImplementor session, java.lang.Object entity)
void
CompositeNestedGeneratedValueGenerator.GenerationPlan. execute(SharedSessionContractImplementor session, java.lang.Object incomingObject, java.lang.Object injectionContext)
Execute the value generation.java.io.Serializable
IdentityGenerator.InsertSelectDelegate. executeAndExtract(java.sql.PreparedStatement insert, SharedSessionContractImplementor session)
protected java.io.Serializable
SequenceIdentityGenerator.Delegate. executeAndExtract(java.sql.PreparedStatement insert, SharedSessionContractImplementor session)
java.io.Serializable
AbstractPostInsertGenerator. generate(SharedSessionContractImplementor s, java.lang.Object obj)
java.io.Serializable
Assigned. generate(SharedSessionContractImplementor session, java.lang.Object obj)
java.io.Serializable
CompositeNestedGeneratedValueGenerator. generate(SharedSessionContractImplementor session, java.lang.Object object)
java.io.Serializable
ForeignGenerator. generate(SharedSessionContractImplementor sessionImplementor, java.lang.Object object)
java.io.Serializable
GUIDGenerator. generate(SharedSessionContractImplementor session, java.lang.Object obj)
java.io.Serializable
IdentifierGenerator. generate(SharedSessionContractImplementor session, java.lang.Object object)
Generate a new identifier.java.io.Serializable
IncrementGenerator. generate(SharedSessionContractImplementor session, java.lang.Object object)
java.io.Serializable
MultipleHiLoPerTableGenerator. generate(SharedSessionContractImplementor session, java.lang.Object obj)
Deprecated.java.io.Serializable
SequenceGenerator. generate(SharedSessionContractImplementor session, java.lang.Object obj)
Deprecated.java.io.Serializable
SequenceHiLoGenerator. generate(SharedSessionContractImplementor session, java.lang.Object obj)
Deprecated.java.io.Serializable
SequenceIdentityGenerator. generate(SharedSessionContractImplementor s, java.lang.Object obj)
Deprecated.java.io.Serializable
UUIDGenerator. generate(SharedSessionContractImplementor session, java.lang.Object object)
java.io.Serializable
UUIDHexGenerator. generate(SharedSessionContractImplementor session, java.lang.Object obj)
protected IntegralDataTypeHolder
SequenceGenerator. generateHolder(SharedSessionContractImplementor session)
Deprecated.java.util.UUID
UUIDGenerationStrategy. generateUUID(SharedSessionContractImplementor session)
Generate the UUID.protected java.io.Serializable
IdentityGenerator.BasicDelegate. getResult(SharedSessionContractImplementor session, java.sql.ResultSet rs, java.lang.Object object)
protected java.io.Serializable
SelectGenerator.SelectGeneratorDelegate. getResult(SharedSessionContractImplementor session, java.sql.ResultSet rs, java.lang.Object entity)
java.io.Serializable
CompositeNestedGeneratedValueGenerator.GenerationContextLocator. locateGenerationContext(SharedSessionContractImplementor session, java.lang.Object incomingObject)
Given the incoming object, determine the context for injecting back its generated id sub-values.protected java.sql.PreparedStatement
IdentityGenerator.InsertSelectDelegate. prepare(java.lang.String insertSQL, SharedSessionContractImplementor session)
protected java.sql.PreparedStatement
SequenceIdentityGenerator.Delegate. prepare(java.lang.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)
java.io.Serializable
SequenceStyleGenerator. generate(SharedSessionContractImplementor session, java.lang.Object object)
java.io.Serializable
TableGenerator. generate(SharedSessionContractImplementor session, java.lang.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, java.sql.PreparedStatement ps, java.lang.Object entity)
Bind any required parameter values into the SQL commandAbstractSelectingDelegate.getSelectSQL()
.protected abstract java.io.Serializable
AbstractReturningDelegate. executeAndExtract(java.sql.PreparedStatement insert, SharedSessionContractImplementor session)
protected abstract java.io.Serializable
AbstractSelectingDelegate. getResult(SharedSessionContractImplementor session, java.sql.ResultSet rs, java.lang.Object entity)
Extract the generated key value from the given result set.java.io.Serializable
AbstractReturningDelegate. performInsert(java.lang.String insertSQL, SharedSessionContractImplementor session, Binder binder)
java.io.Serializable
AbstractSelectingDelegate. performInsert(java.lang.String insertSQL, SharedSessionContractImplementor session, Binder binder)
java.io.Serializable
InsertGeneratedIdentifierDelegate. performInsert(java.lang.String insertSQL, SharedSessionContractImplementor session, Binder binder)
Perform the indicated insert SQL statement and determine the identifier value generated.protected abstract java.sql.PreparedStatement
AbstractReturningDelegate. prepare(java.lang.String insertSQL, SharedSessionContractImplementor session)
protected void
AbstractReturningDelegate. releaseStatement(java.sql.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 java.util.UUID
CustomVersionOneStrategy. generateUUID(SharedSessionContractImplementor session)
java.util.UUID
StandardRandomStrategy. generateUUID(SharedSessionContractImplementor session)
Delegates toUUID.randomUUID()
-
Uses of SharedSessionContractImplementor in org.hibernate.loader
Methods in org.hibernate.loader with parameters of type SharedSessionContractImplementor Modifier and Type Method Description protected void
Loader. applyPostLoadLocks(java.lang.Object[] row, LockMode[] lockModesArray, SharedSessionContractImplementor session)
protected int
Loader. bindNamedParameters(java.sql.PreparedStatement statement, java.util.Map<java.lang.String,TypedValue> namedParams, int startIndex, SharedSessionContractImplementor session)
Bind named parameters to the JDBC prepared statement.protected int
Loader. bindParameterValues(java.sql.PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)
Bind all parameter values into the prepared statement in preparation for execution.protected int
Loader. bindPositionalParameters(java.sql.PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)
Bind positional parameter values to the JDBC prepared statement.protected java.util.List
Loader. doList(SharedSessionContractImplementor session, QueryParameters queryParameters)
Actually execute a query, ignoring the query cachejava.util.List
Loader. doQueryAndInitializeNonLazyCollections(SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies)
Execute an SQL query and attempt to instantiate instances of the class mapped by the given persister from each row of the ResultSet.java.util.List
Loader. doQueryAndInitializeNonLazyCollections(SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies, ResultTransformer forcedResultTransformer)
protected Loader.SqlStatementWrapper
Loader. executeQueryStatement(java.lang.String sqlStatement, QueryParameters queryParameters, boolean scroll, java.util.List<AfterLoadAction> afterLoadActions, SharedSessionContractImplementor session)
protected Loader.SqlStatementWrapper
Loader. executeQueryStatement(QueryParameters queryParameters, boolean scroll, java.util.List<AfterLoadAction> afterLoadActions, SharedSessionContractImplementor session)
Process query string by applying filters, LIMIT clause, locks and comments if necessary.protected void
Loader. extractKeysFromResultSet(Loadable[] persisters, QueryParameters queryParameters, java.sql.ResultSet resultSet, SharedSessionContractImplementor session, EntityKey[] keys, LockMode[] lockModes, java.util.List hydratedObjects)
protected java.lang.Object
Loader. getResultColumnOrRow(java.lang.Object[] row, ResultTransformer transformer, java.sql.ResultSet rs, SharedSessionContractImplementor session)
Get the actual object that is returned in the user-visible result list.protected java.lang.Object[]
Loader. getResultRow(java.lang.Object[] row, java.sql.ResultSet rs, SharedSessionContractImplementor session)
protected java.sql.ResultSet
Loader. getResultSet(java.sql.CallableStatement st, RowSelection selection, LimitHandler limitHandler, boolean autodiscovertypes, SharedSessionContractImplementor session)
Execute given CallableStatement, advance to the first result and return SQL ResultSet.protected java.sql.ResultSet
Loader. getResultSet(java.sql.PreparedStatement st, RowSelection selection, LimitHandler limitHandler, boolean autodiscovertypes, SharedSessionContractImplementor session)
Execute given PreparedStatement, advance to the first result and return SQL ResultSet.protected java.util.List
Loader. list(SharedSessionContractImplementor session, QueryParameters queryParameters, java.util.Set<java.io.Serializable> querySpaces, Type[] resultTypes)
Return the query results, using the query cache, called by subclasses that implement cacheable queriesvoid
Loader. loadCollection(SharedSessionContractImplementor session, java.io.Serializable id, Type type)
Called by subclasses that initialize collectionsvoid
Loader. loadCollectionBatch(SharedSessionContractImplementor session, java.io.Serializable[] ids, Type type)
Called by wrappers that batch initialize collectionsprotected void
Loader. loadCollectionSubselect(SharedSessionContractImplementor session, java.io.Serializable[] ids, java.lang.Object[] parameterValues, Type[] parameterTypes, java.util.Map<java.lang.String,TypedValue> namedParameters, Type type)
Called by subclasses that batch initialize collectionsprotected java.util.List
Loader. loadEntity(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object index, Type keyType, Type indexType, EntityPersister persister)
Called by subclasses that load entitiesprotected java.util.List
Loader. loadEntity(SharedSessionContractImplementor session, java.lang.Object id, Type identifierType, java.lang.Object optionalObject, java.lang.String optionalEntityName, java.io.Serializable optionalIdentifier, EntityPersister persister, LockOptions lockOptions)
Called by subclasses that load entitiesjava.util.List
Loader. loadEntityBatch(SharedSessionContractImplementor session, java.io.Serializable[] ids, Type idType, java.lang.Object optionalObject, java.lang.String optionalEntityName, java.io.Serializable optionalId, EntityPersister persister, LockOptions lockOptions)
Called by wrappers that batch load entitiesjava.lang.Object
Loader. loadSequentialRowsForward(java.sql.ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies)
Loads a single logical row from the result set moving forward.java.lang.Object
Loader. loadSequentialRowsReverse(java.sql.ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies, boolean isLogicallyAfterLast)
Loads a single logical row from the result set moving forward.java.lang.Object
Loader. loadSingleRow(java.sql.ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies)
Loads a single row from the result set.protected java.sql.PreparedStatement
Loader. prepareQueryStatement(java.lang.String sql, QueryParameters queryParameters, LimitHandler limitHandler, boolean scroll, SharedSessionContractImplementor session)
Obtain a PreparedStatement with all parameters pre-bound.protected java.util.List
Loader. processResultSet(java.sql.ResultSet rs, QueryParameters queryParameters, SharedSessionContractImplementor session, boolean returnProxies, ResultTransformer forcedResultTransformer, int maxRows, java.util.List<AfterLoadAction> afterLoadActions)
protected void
Loader. putResultInQueryCache(SharedSessionContractImplementor session, QueryParameters queryParameters, Type[] resultTypes, QueryResultsCache queryCache, QueryKey key, java.util.List result)
protected ScrollableResultsImplementor
Loader. scroll(QueryParameters queryParameters, Type[] returnTypes, org.hibernate.hql.internal.HolderInstantiator holderInstantiator, SharedSessionContractImplementor session)
Return the query results, as an instance of ScrollableResults -
Uses of SharedSessionContractImplementor in org.hibernate.loader.collection
Methods in org.hibernate.loader.collection with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
CollectionInitializer. initialize(java.io.Serializable id, SharedSessionContractImplementor session)
Initialize the given collectionvoid
CollectionLoader. initialize(java.io.Serializable id, SharedSessionContractImplementor session)
void
DynamicBatchingCollectionInitializerBuilder.DynamicBatchingCollectionInitializer. initialize(java.io.Serializable id, SharedSessionContractImplementor session)
void
LegacyBatchingCollectionInitializerBuilder.LegacyBatchingCollectionInitializer. initialize(java.io.Serializable id, SharedSessionContractImplementor session)
void
SubselectCollectionLoader. initialize(java.io.Serializable id, SharedSessionContractImplementor session)
void
SubselectOneToManyLoader. initialize(java.io.Serializable id, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.loader.collection.plan
Methods in org.hibernate.loader.collection.plan with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
AbstractLoadPlanBasedCollectionInitializer. initialize(java.io.Serializable id, SharedSessionContractImplementor session)
void
LegacyBatchingCollectionInitializerBuilder.LegacyBatchingCollectionInitializer. initialize(java.io.Serializable id, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.loader.criteria
Methods in org.hibernate.loader.criteria with parameters of type SharedSessionContractImplementor Modifier and Type Method Description protected java.lang.Object
CriteriaLoader. getResultColumnOrRow(java.lang.Object[] row, ResultTransformer transformer, java.sql.ResultSet rs, SharedSessionContractImplementor session)
protected java.lang.Object[]
CriteriaLoader. getResultRow(java.lang.Object[] row, java.sql.ResultSet rs, SharedSessionContractImplementor session)
java.util.List
CriteriaLoader. list(SharedSessionContractImplementor session)
ScrollableResultsImplementor
CriteriaLoader. scroll(SharedSessionContractImplementor session, ScrollMode scrollMode)
-
Uses of SharedSessionContractImplementor in org.hibernate.loader.custom
Methods in org.hibernate.loader.custom with parameters of type SharedSessionContractImplementor Modifier and Type Method Description protected int
CustomLoader. bindParameterValues(java.sql.PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)
java.lang.Object
ResultRowProcessor. buildResultRow(java.lang.Object[] data, java.sql.ResultSet resultSet, boolean hasTransformer, SharedSessionContractImplementor session)
Build a logical result row.java.lang.Object[]
ResultRowProcessor. buildResultRow(java.lang.Object[] data, java.sql.ResultSet resultSet, SharedSessionContractImplementor session)
java.lang.Object
ConstructorResultColumnProcessor. extract(java.lang.Object[] data, java.sql.ResultSet resultSet, SharedSessionContractImplementor session)
java.lang.Object
NonScalarResultColumnProcessor. extract(java.lang.Object[] data, java.sql.ResultSet resultSet, SharedSessionContractImplementor session)
java.lang.Object
ScalarResultColumnProcessor. extract(java.lang.Object[] data, java.sql.ResultSet resultSet, SharedSessionContractImplementor session)
protected java.lang.Object
CustomLoader. getResultColumnOrRow(java.lang.Object[] row, ResultTransformer transformer, java.sql.ResultSet rs, SharedSessionContractImplementor session)
protected java.lang.Object[]
CustomLoader. getResultRow(java.lang.Object[] row, java.sql.ResultSet rs, SharedSessionContractImplementor session)
java.util.List
CustomLoader. list(SharedSessionContractImplementor session, QueryParameters queryParameters)
protected void
CustomLoader. putResultInQueryCache(SharedSessionContractImplementor session, QueryParameters queryParameters, Type[] resultTypes, QueryResultsCache queryCache, QueryKey key, java.util.List result)
CustomLoader.resultTypes
can be overridden byCustomLoader.autoDiscoverTypes(ResultSet)
, *after*CustomLoader.list(SharedSessionContractImplementor, QueryParameters)
has already been called.ScrollableResultsImplementor
CustomLoader. scroll(QueryParameters queryParameters, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.loader.custom.sql
Methods in org.hibernate.loader.custom.sql with parameters of type SharedSessionContractImplementor Modifier and Type Method Description int
NamedParamBinder. bind(java.sql.PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)
int
PositionalParamBinder. bind(java.sql.PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)
-
Uses of SharedSessionContractImplementor in org.hibernate.loader.entity
Methods in org.hibernate.loader.entity with parameters of type SharedSessionContractImplementor Modifier and Type Method Description protected java.lang.Object
BatchingEntityLoader. doBatchLoad(java.io.Serializable id, Loader loaderToUse, SharedSessionContractImplementor session, java.io.Serializable[] ids, java.lang.Object optionalObject, LockOptions lockOptions)
protected java.lang.Object
BatchingEntityLoader. getObjectFromList(java.util.List results, java.io.Serializable id, SharedSessionContractImplementor session)
protected java.lang.Object
AbstractEntityLoader. getResultColumnOrRow(java.lang.Object[] row, ResultTransformer transformer, java.sql.ResultSet rs, SharedSessionContractImplementor session)
protected java.lang.Object
CollectionElementLoader. getResultColumnOrRow(java.lang.Object[] row, ResultTransformer transformer, java.sql.ResultSet rs, SharedSessionContractImplementor session)
java.lang.Object
AbstractEntityLoader. load(java.io.Serializable id, java.lang.Object optionalObject, SharedSessionContractImplementor session)
java.lang.Object
AbstractEntityLoader. load(java.io.Serializable id, java.lang.Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)
protected java.lang.Object
AbstractEntityLoader. load(SharedSessionContractImplementor session, java.lang.Object id, java.lang.Object optionalObject, java.io.Serializable optionalId, LockOptions lockOptions)
java.lang.Object
BatchingEntityLoader. load(java.io.Serializable id, java.lang.Object optionalObject, SharedSessionContractImplementor session)
java.lang.Object
DynamicBatchingEntityLoaderBuilder.DynamicBatchingEntityLoader. load(java.io.Serializable id, java.lang.Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)
java.lang.Object
LegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader. load(java.io.Serializable id, java.lang.Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)
java.lang.Object
UniqueEntityLoader. load(java.io.Serializable id, java.lang.Object optionalObject, SharedSessionContractImplementor session)
Deprecated.java.lang.Object
UniqueEntityLoader. load(java.io.Serializable id, java.lang.Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)
Load an entity instance by id.java.lang.Object
EntityLoader. loadByUniqueKey(SharedSessionContractImplementor session, java.lang.Object key)
java.lang.Object
CollectionElementLoader. loadElement(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object index)
java.util.List
DynamicBatchingEntityLoaderBuilder. multiLoad(OuterJoinLoadable persister, java.io.Serializable[] ids, SharedSessionContractImplementor session, MultiLoadOptions loadOptions)
protected java.util.List
DynamicBatchingEntityLoaderBuilder. performUnorderedMultiLoad(OuterJoinLoadable persister, java.io.Serializable[] ids, SharedSessionContractImplementor session, MultiLoadOptions loadOptions)
-
Uses of SharedSessionContractImplementor in org.hibernate.loader.entity.plan
Methods in org.hibernate.loader.entity.plan with parameters of type SharedSessionContractImplementor Modifier and Type Method Description protected java.lang.Object
BatchingEntityLoader. doBatchLoad(java.io.Serializable id, Loader loaderToUse, SharedSessionContractImplementor session, java.io.Serializable[] ids, java.lang.Object optionalObject, LockOptions lockOptions)
protected java.lang.Object
BatchingEntityLoader. getObjectFromList(java.util.List results, java.io.Serializable id, SharedSessionContractImplementor session)
java.lang.Object
AbstractLoadPlanBasedEntityLoader. load(java.io.Serializable id, java.lang.Object optionalObject, SharedSessionContractImplementor session)
java.lang.Object
AbstractLoadPlanBasedEntityLoader. load(java.io.Serializable id, java.lang.Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)
java.lang.Object
BatchingEntityLoader. load(java.io.Serializable id, java.lang.Object optionalObject, SharedSessionContractImplementor session)
java.lang.Object
LegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader. load(java.io.Serializable id, java.lang.Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)
java.util.List
AbstractLoadPlanBasedEntityLoader. loadEntityBatch(SharedSessionContractImplementor session, java.io.Serializable[] ids, Type idType, java.lang.Object optionalObject, java.lang.String optionalEntityName, java.io.Serializable optionalId, EntityPersister persister, LockOptions lockOptions)
Called by wrappers that batch load entities -
Uses of SharedSessionContractImplementor in org.hibernate.loader.hql
Methods in org.hibernate.loader.hql with parameters of type SharedSessionContractImplementor Modifier and Type Method Description protected void
QueryLoader. applyPostLoadLocks(java.lang.Object[] row, LockMode[] lockModesArray, SharedSessionContractImplementor session)
protected int
QueryLoader. bindParameterValues(java.sql.PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)
We specifically override this method here, because in general we know much more about the parameters and their appropriate bind positions here then we do in our super because we track them explicitly here through the ParameterSpecification interface.protected java.lang.Object
QueryLoader. getResultColumnOrRow(java.lang.Object[] row, ResultTransformer transformer, java.sql.ResultSet rs, SharedSessionContractImplementor session)
protected java.lang.Object[]
QueryLoader. getResultRow(java.lang.Object[] row, java.sql.ResultSet rs, SharedSessionContractImplementor session)
java.util.List
QueryLoader. list(SharedSessionContractImplementor session, QueryParameters queryParameters)
ScrollableResultsImplementor
QueryLoader. scroll(QueryParameters queryParameters, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.loader.plan.exec.process.spi
Methods in org.hibernate.loader.plan.exec.process.spi that return SharedSessionContractImplementor Modifier and Type Method Description SharedSessionContractImplementor
ResultSetProcessingContext. getSession()
Methods in org.hibernate.loader.plan.exec.process.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description java.util.List
ResultSetProcessor. extractResults(java.sql.ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, NamedParameterContext namedParameterContext, boolean returnProxies, boolean readOnly, ResultTransformer forcedResultTransformer, java.util.List<AfterLoadAction> afterLoadActions)
Process an entire ResultSet, performing all extractions. -
Uses of SharedSessionContractImplementor in org.hibernate.loader.spi
Methods in org.hibernate.loader.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
AfterLoadAction. afterLoad(SharedSessionContractImplementor session, java.lang.Object entity, Loadable persister)
-
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, java.lang.Object incomingObject, java.lang.Object injectionContext)
java.io.Serializable
Component.StandardGenerationContextLocator. locateGenerationContext(SharedSessionContractImplementor session, java.lang.Object incomingObject)
-
Uses of SharedSessionContractImplementor in org.hibernate.metadata
Methods in org.hibernate.metadata with parameters of type SharedSessionContractImplementor Modifier and Type Method Description java.io.Serializable
ClassMetadata. getIdentifier(java.lang.Object entity, SharedSessionContractImplementor session)
Get the identifier of an instance (throw an exception if no identifier property)java.lang.Object[]
ClassMetadata. getPropertyValuesToInsert(java.lang.Object entity, java.util.Map mergeMap, SharedSessionContractImplementor session)
Return the values of the mapped properties of the objectjava.lang.Object
ClassMetadata. instantiate(java.io.Serializable id, SharedSessionContractImplementor session)
Create a class instance initialized with the given identifiervoid
ClassMetadata. setIdentifier(java.lang.Object entity, java.io.Serializable id, SharedSessionContractImplementor session)
Inject the identifier value into the given entity. -
Uses of SharedSessionContractImplementor in org.hibernate.param
Methods in org.hibernate.param with parameters of type SharedSessionContractImplementor Modifier and Type Method Description int
CollectionFilterKeyParameterSpecification. bind(java.sql.PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)
int
DynamicFilterParameterSpecification. bind(java.sql.PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int start)
int
NamedParameterSpecification. bind(java.sql.PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)
Bind the appropriate value into the given statement at the specified position.int
ParameterBinder. bind(java.sql.PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)
Bind the appropriate value into the given statement at the specified position.int
PositionalParameterSpecification. bind(java.sql.PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)
Bind the appropriate value into the given statement at the specified position.int
VersionTypeSeedParameterSpecification. bind(java.sql.PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)
-
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 abstract CollectionInitializer
AbstractCollectionPersister. createSubselectInitializer(SubselectFetch subselect, SharedSessionContractImplementor session)
protected CollectionInitializer
BasicCollectionPersister. createSubselectInitializer(SubselectFetch subselect, SharedSessionContractImplementor session)
protected CollectionInitializer
OneToManyPersister. createSubselectInitializer(SubselectFetch subselect, SharedSessionContractImplementor session)
void
AbstractCollectionPersister. deleteRows(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)
void
CollectionPersister. deleteRows(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)
Delete the persistent state of any elements that were removed from the collectionprotected void
AbstractCollectionPersister. doProcessQueuedOps(PersistentCollection collection, java.io.Serializable key, int nextIndex, SharedSessionContractImplementor session)
protected abstract void
AbstractCollectionPersister. doProcessQueuedOps(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)
protected void
BasicCollectionPersister. doProcessQueuedOps(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)
protected void
OneToManyPersister. doProcessQueuedOps(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)
protected abstract int
AbstractCollectionPersister. doUpdateRows(java.io.Serializable key, PersistentCollection collection, SharedSessionContractImplementor session)
protected int
BasicCollectionPersister. doUpdateRows(java.io.Serializable id, PersistentCollection collection, SharedSessionContractImplementor session)
protected int
OneToManyPersister. doUpdateRows(java.io.Serializable id, PersistentCollection collection, SharedSessionContractImplementor session)
boolean
AbstractCollectionPersister. elementExists(java.io.Serializable key, java.lang.Object element, SharedSessionContractImplementor session)
boolean
CollectionPersister. elementExists(java.io.Serializable key, java.lang.Object element, SharedSessionContractImplementor session)
protected CollectionInitializer
AbstractCollectionPersister. getAppropriateInitializer(java.io.Serializable key, SharedSessionContractImplementor session)
java.lang.Object
AbstractCollectionPersister. getElementByIndex(java.io.Serializable key, java.lang.Object index, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CollectionPersister. getElementByIndex(java.io.Serializable key, java.lang.Object index, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
OneToManyPersister. getElementByIndex(java.io.Serializable key, java.lang.Object index, SharedSessionContractImplementor session, java.lang.Object owner)
int
AbstractCollectionPersister. getSize(java.io.Serializable key, SharedSessionContractImplementor session)
int
CollectionPersister. getSize(java.io.Serializable key, SharedSessionContractImplementor session)
boolean
AbstractCollectionPersister. indexExists(java.io.Serializable key, java.lang.Object index, SharedSessionContractImplementor session)
boolean
CollectionPersister. indexExists(java.io.Serializable key, java.lang.Object index, SharedSessionContractImplementor session)
void
AbstractCollectionPersister. initialize(java.io.Serializable key, SharedSessionContractImplementor session)
void
CollectionPersister. initialize(java.io.Serializable key, SharedSessionContractImplementor session)
Initialize the given collection with the given key TODO: add owner argument!!void
NamedQueryCollectionInitializer. initialize(java.io.Serializable key, SharedSessionContractImplementor session)
void
AbstractCollectionPersister. insertRows(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)
void
CollectionPersister. insertRows(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)
Insert the persistent state of any new collection elementsvoid
OneToManyPersister. insertRows(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)
boolean
AbstractCollectionPersister. isAffectedByEnabledFilters(SharedSessionContractImplementor session)
boolean
CollectionPersister. isAffectedByEnabledFilters(SharedSessionContractImplementor session)
void
AbstractCollectionPersister. processQueuedOps(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)
void
CollectionPersister. processQueuedOps(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)
Process queued operations within the PersistentCollection.java.lang.Object
AbstractCollectionPersister. readElement(java.sql.ResultSet rs, java.lang.Object owner, java.lang.String[] aliases, SharedSessionContractImplementor session)
java.lang.Object
CollectionPersister. readElement(java.sql.ResultSet rs, java.lang.Object owner, java.lang.String[] columnAliases, SharedSessionContractImplementor session)
Read the element from a row of the JDBC ResultSetjava.lang.Object
AbstractCollectionPersister. readIdentifier(java.sql.ResultSet rs, java.lang.String alias, SharedSessionContractImplementor session)
java.lang.Object
CollectionPersister. readIdentifier(java.sql.ResultSet rs, java.lang.String columnAlias, SharedSessionContractImplementor session)
Read the identifier from a row of the JDBC ResultSetjava.lang.Object
AbstractCollectionPersister. readIndex(java.sql.ResultSet rs, java.lang.String[] aliases, SharedSessionContractImplementor session)
java.lang.Object
CollectionPersister. readIndex(java.sql.ResultSet rs, java.lang.String[] columnAliases, SharedSessionContractImplementor session)
Read the index from a row of the JDBC ResultSetjava.lang.Object
AbstractCollectionPersister. readKey(java.sql.ResultSet rs, java.lang.String[] aliases, SharedSessionContractImplementor session)
java.lang.Object
CollectionPersister. readKey(java.sql.ResultSet rs, java.lang.String[] keyAliases, SharedSessionContractImplementor session)
Read the key from a row of the JDBC ResultSetvoid
AbstractCollectionPersister. recreate(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)
void
CollectionPersister. recreate(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)
(Re)create the collection's persistent statevoid
OneToManyPersister. recreate(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)
void
AbstractCollectionPersister. remove(java.io.Serializable id, SharedSessionContractImplementor session)
void
CollectionPersister. remove(java.io.Serializable id, SharedSessionContractImplementor session)
Completely remove the persistent state of the collectionvoid
AbstractCollectionPersister. updateRows(PersistentCollection collection, java.io.Serializable id, SharedSessionContractImplementor session)
void
CollectionPersister. updateRows(PersistentCollection collection, java.io.Serializable key, SharedSessionContractImplementor session)
Update the persistent state of any elements that were modifiedprotected int
AbstractCollectionPersister. writeElement(java.sql.PreparedStatement st, java.lang.Object elt, int i, SharedSessionContractImplementor session)
Write the element to a JDBC PreparedStatementprotected int
AbstractCollectionPersister. writeElementToWhere(java.sql.PreparedStatement st, java.lang.Object elt, int i, SharedSessionContractImplementor session)
Write the element to a JDBC PreparedStatementint
AbstractCollectionPersister. writeIdentifier(java.sql.PreparedStatement st, java.lang.Object id, int i, SharedSessionContractImplementor session)
Write the identifier to a JDBC PreparedStatementprotected int
AbstractCollectionPersister. writeIndex(java.sql.PreparedStatement st, java.lang.Object index, int i, SharedSessionContractImplementor session)
Write the index to a JDBC PreparedStatementprotected int
AbstractCollectionPersister. writeIndexToWhere(java.sql.PreparedStatement st, java.lang.Object index, int i, SharedSessionContractImplementor session)
Write the index to a JDBC PreparedStatementprotected int
AbstractCollectionPersister. writeKey(java.sql.PreparedStatement st, java.io.Serializable key, int i, SharedSessionContractImplementor session)
Write the key to a JDBC PreparedStatement -
Uses of SharedSessionContractImplementor in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
AbstractEntityPersister. afterInitialize(java.lang.Object entity, SharedSessionContractImplementor session)
void
EntityPersister. afterInitialize(java.lang.Object entity, SharedSessionContractImplementor session)
Called just after the entities properties have been initializedvoid
AbstractEntityPersister. afterReassociate(java.lang.Object entity, SharedSessionContractImplementor session)
void
EntityPersister. afterReassociate(java.lang.Object entity, SharedSessionContractImplementor session)
Called just after the entity has been reassociated with the sessionCacheEntry
AbstractEntityPersister. buildCacheEntry(java.lang.Object entity, java.lang.Object[] state, java.lang.Object version, SharedSessionContractImplementor session)
CacheEntry
AbstractEntityPersister.CacheEntryHelper. buildCacheEntry(java.lang.Object entity, java.lang.Object[] state, java.lang.Object version, SharedSessionContractImplementor session)
CacheEntry
EntityPersister. buildCacheEntry(java.lang.Object entity, java.lang.Object[] state, java.lang.Object version, SharedSessionContractImplementor session)
java.lang.Object
AbstractEntityPersister. createProxy(java.io.Serializable id, SharedSessionContractImplementor session)
java.lang.Object
EntityPersister. createProxy(java.io.Serializable id, SharedSessionContractImplementor session)
Create a new proxy instanceprotected int
AbstractEntityPersister. dehydrate(java.io.Serializable id, java.lang.Object[] fields, boolean[] includeProperty, boolean[][] includeColumns, int j, java.sql.PreparedStatement st, SharedSessionContractImplementor session, boolean isUpdate)
protected int
AbstractEntityPersister. dehydrate(java.io.Serializable id, java.lang.Object[] fields, java.lang.Object rowId, boolean[] includeProperty, boolean[][] includeColumns, int j, java.sql.PreparedStatement ps, SharedSessionContractImplementor session, int index, boolean isUpdate)
Marshall the fields of a persistent instance to a prepared statementprotected void
AbstractEntityPersister. delete(java.io.Serializable id, java.lang.Object version, int j, java.lang.Object object, java.lang.String sql, SharedSessionContractImplementor session, java.lang.Object[] loadedState)
Perform an SQL DELETEvoid
AbstractEntityPersister. delete(java.io.Serializable id, java.lang.Object version, java.lang.Object object, SharedSessionContractImplementor session)
Delete an objectvoid
EntityPersister. delete(java.io.Serializable id, java.lang.Object version, java.lang.Object object, SharedSessionContractImplementor session)
Delete a persistent instanceint[]
AbstractEntityPersister. findDirty(java.lang.Object[] currentState, java.lang.Object[] previousState, java.lang.Object entity, SharedSessionContractImplementor session)
Locate the property-indices of all properties considered to be dirty.int[]
EntityPersister. findDirty(java.lang.Object[] currentState, java.lang.Object[] previousState, java.lang.Object owner, SharedSessionContractImplementor session)
Compare the two snapshots to determine if they represent dirty state.int[]
AbstractEntityPersister. findModified(java.lang.Object[] old, java.lang.Object[] current, java.lang.Object entity, SharedSessionContractImplementor session)
Locate the property-indices of all properties considered to be dirty.int[]
EntityPersister. findModified(java.lang.Object[] old, java.lang.Object[] current, java.lang.Object object, SharedSessionContractImplementor session)
Compare the two snapshots to determine if they represent modified state.java.lang.Object
AbstractEntityPersister. forceVersionIncrement(java.io.Serializable id, java.lang.Object currentVersion, SharedSessionContractImplementor session)
java.lang.Object
EntityPersister. forceVersionIncrement(java.io.Serializable id, java.lang.Object currentVersion, SharedSessionContractImplementor session)
protected UniqueEntityLoader
AbstractEntityPersister. getAppropriateLoader(LockOptions lockOptions, SharedSessionContractImplementor session)
protected java.io.Serializable
AbstractEntityPersister. getCollectionKey(CollectionPersister persister, java.lang.Object owner, EntityEntry ownerEntry, SharedSessionContractImplementor session)
java.lang.Object
AbstractEntityPersister. getCurrentVersion(java.io.Serializable id, SharedSessionContractImplementor session)
Retrieve the version numberjava.lang.Object
EntityPersister. getCurrentVersion(java.io.Serializable id, SharedSessionContractImplementor session)
Get the current version of the object, or return null if there is no row for the given identifier.java.lang.Object[]
AbstractEntityPersister. getDatabaseSnapshot(java.io.Serializable id, SharedSessionContractImplementor session)
java.lang.Object[]
EntityPersister. getDatabaseSnapshot(java.io.Serializable id, SharedSessionContractImplementor session)
Get the current database state of the object, in a "hydrated" form, without resolving identifiersjava.io.Serializable
AbstractEntityPersister. getIdByUniqueKey(java.io.Serializable key, java.lang.String uniquePropertyName, SharedSessionContractImplementor session)
java.io.Serializable
EntityPersister. getIdByUniqueKey(java.io.Serializable key, java.lang.String uniquePropertyName, SharedSessionContractImplementor session)
java.io.Serializable
AbstractEntityPersister. getIdentifier(java.lang.Object entity, SharedSessionContractImplementor session)
java.io.Serializable
EntityPersister. getIdentifier(java.lang.Object entity, SharedSessionContractImplementor session)
Get the identifier of an instance (throw an exception if no identifier property)java.lang.Object[]
AbstractEntityPersister. getNaturalIdentifierSnapshot(java.io.Serializable id, SharedSessionContractImplementor session)
java.lang.Object[]
EntityPersister. getNaturalIdentifierSnapshot(java.io.Serializable id, SharedSessionContractImplementor session)
Retrieve the current state of the natural-id properties from the database.java.lang.Object[]
AbstractEntityPersister. getPropertyValuesToInsert(java.lang.Object object, java.util.Map mergeMap, SharedSessionContractImplementor session)
java.lang.Object[]
EntityPersister. getPropertyValuesToInsert(java.lang.Object object, java.util.Map mergeMap, SharedSessionContractImplementor session)
Return the values of the insertable properties of the object (including backrefs)java.lang.Object[]
AbstractEntityPersister. hydrate(java.sql.ResultSet rs, java.io.Serializable id, java.lang.Object object, Loadable rootLoadable, java.lang.String[][] suffixedPropertyColumns, boolean allProperties, SharedSessionContractImplementor session)
Unmarshall the fields of a persistent instance from a result set, without resolving associations or collections.java.lang.Object[]
Loadable. hydrate(java.sql.ResultSet rs, java.io.Serializable id, java.lang.Object object, Loadable rootLoadable, java.lang.String[][] suffixedPropertyColumns, boolean allProperties, SharedSessionContractImplementor session)
Retrieve property values from one row of a result setjava.lang.Object
AbstractEntityPersister. initializeEnhancedEntityUsedAsProxy(java.lang.Object entity, java.lang.String nameOfAttributeBeingAccessed, SharedSessionContractImplementor session)
default java.lang.Object
EntityPersister. initializeEnhancedEntityUsedAsProxy(java.lang.Object entity, java.lang.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 statejava.lang.Object
AbstractEntityPersister. initializeLazyProperty(java.lang.String fieldName, java.lang.Object entity, SharedSessionContractImplementor session)
protected void
AbstractEntityPersister. insert(java.io.Serializable id, java.lang.Object[] fields, boolean[] notNull, int j, java.lang.String sql, java.lang.Object object, SharedSessionContractImplementor session)
Perform an SQL INSERT.void
AbstractEntityPersister. insert(java.io.Serializable id, java.lang.Object[] fields, java.lang.Object object, SharedSessionContractImplementor session)
protected java.io.Serializable
AbstractEntityPersister. insert(java.lang.Object[] fields, boolean[] notNull, java.lang.String sql, java.lang.Object object, SharedSessionContractImplementor session)
Perform an SQL INSERT, and then retrieve a generated identifier.java.io.Serializable
AbstractEntityPersister. insert(java.lang.Object[] fields, java.lang.Object object, SharedSessionContractImplementor session)
void
EntityPersister. insert(java.io.Serializable id, java.lang.Object[] fields, java.lang.Object object, SharedSessionContractImplementor session)
Persist an instancejava.io.Serializable
EntityPersister. insert(java.lang.Object[] fields, java.lang.Object object, SharedSessionContractImplementor session)
Persist an instance, using a natively generated identifier (optional operation)java.lang.Object
AbstractEntityPersister. instantiate(java.io.Serializable id, SharedSessionContractImplementor session)
java.lang.Object
EntityPersister. instantiate(java.io.Serializable id, SharedSessionContractImplementor session)
Create a class instance initialized with the given identifierboolean
DiscriminatorType. isDirty(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
java.lang.Boolean
AbstractEntityPersister. isTransient(java.lang.Object entity, SharedSessionContractImplementor session)
java.lang.Boolean
EntityPersister. isTransient(java.lang.Object object, SharedSessionContractImplementor session)
Is this a new transient instance?java.lang.Object
AbstractEntityPersister. load(java.io.Serializable id, java.lang.Object optionalObject, LockMode lockMode, SharedSessionContractImplementor session)
Load an instance using either the forUpdateLoader or the outer joining loader, depending upon the value of the lock parameterjava.lang.Object
AbstractEntityPersister. load(java.io.Serializable id, java.lang.Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session)
Load an instance using either the forUpdateLoader or the outer joining loader, depending upon the value of the lock parameterjava.lang.Object
EntityPersister. load(java.io.Serializable id, java.lang.Object optionalObject, LockMode lockMode, SharedSessionContractImplementor session)
Load an instance of the persistent class.java.lang.Object
EntityPersister. load(java.io.Serializable id, java.lang.Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session)
Load an instance of the persistent class.java.lang.Object
NamedQueryLoader. load(java.io.Serializable id, java.lang.Object optionalObject, SharedSessionContractImplementor session)
java.lang.Object
NamedQueryLoader. load(java.io.Serializable id, java.lang.Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)
java.lang.Object
AbstractEntityPersister. loadByUniqueKey(java.lang.String propertyName, java.lang.Object uniqueKey, SharedSessionContractImplementor session)
java.lang.Object
UniqueKeyLoadable. loadByUniqueKey(java.lang.String propertyName, java.lang.Object uniqueKey, SharedSessionContractImplementor session)
Load an instance of the persistent class, by a unique key other than the primary key.java.io.Serializable
AbstractEntityPersister. loadEntityIdByNaturalId(java.lang.Object[] naturalIdValues, LockOptions lockOptions, SharedSessionContractImplementor session)
java.io.Serializable
EntityPersister. loadEntityIdByNaturalId(java.lang.Object[] naturalIdValues, LockOptions lockOptions, SharedSessionContractImplementor session)
Load the id for the entity based on the natural id.void
AbstractEntityPersister. lock(java.io.Serializable id, java.lang.Object version, java.lang.Object object, LockMode lockMode, SharedSessionContractImplementor session)
void
AbstractEntityPersister. lock(java.io.Serializable id, java.lang.Object version, java.lang.Object object, LockOptions lockOptions, SharedSessionContractImplementor session)
void
EntityPersister. lock(java.io.Serializable id, java.lang.Object version, java.lang.Object object, LockMode lockMode, SharedSessionContractImplementor session)
Do a version check (optional operation)void
EntityPersister. lock(java.io.Serializable id, java.lang.Object version, java.lang.Object object, LockOptions lockOptions, SharedSessionContractImplementor session)
Do a version check (optional operation)java.util.List
AbstractEntityPersister. multiLoad(java.io.Serializable[] ids, SharedSessionContractImplementor session, MultiLoadOptions loadOptions)
java.util.List
EntityPersister. multiLoad(java.io.Serializable[] ids, SharedSessionContractImplementor session, MultiLoadOptions loadOptions)
Performs a load of multiple entities (of this type) by identifier simultaneously.java.lang.Object
DiscriminatorType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
DiscriminatorType. nullSafeGet(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session, java.lang.Object owner)
void
DiscriminatorType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
DiscriminatorType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
void
AbstractEntityPersister. processInsertGeneratedProperties(java.io.Serializable id, java.lang.Object entity, java.lang.Object[] state, SharedSessionContractImplementor session)
void
EntityPersister. processInsertGeneratedProperties(java.io.Serializable id, java.lang.Object entity, java.lang.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(java.io.Serializable id, java.lang.Object entity, java.lang.Object[] state, SharedSessionContractImplementor session)
void
EntityPersister. processUpdateGeneratedProperties(java.io.Serializable id, java.lang.Object entity, java.lang.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
.java.lang.Object
DiscriminatorType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache)
void
AbstractEntityPersister. resetIdentifier(java.lang.Object entity, java.io.Serializable currentId, java.lang.Object currentVersion, SharedSessionContractImplementor session)
void
EntityPersister. resetIdentifier(java.lang.Object entity, java.io.Serializable currentId, java.lang.Object currentVersion, SharedSessionContractImplementor session)
Set the identifier and version of the given instance back to its "unsaved" value.void
AbstractEntityPersister. setIdentifier(java.lang.Object entity, java.io.Serializable id, SharedSessionContractImplementor session)
void
EntityPersister. setIdentifier(java.lang.Object entity, java.io.Serializable id, SharedSessionContractImplementor session)
Inject the identifier value into the given entity.void
AbstractEntityPersister. update(java.io.Serializable id, java.lang.Object[] fields, int[] dirtyFields, boolean hasDirtyCollection, java.lang.Object[] oldFields, java.lang.Object oldVersion, java.lang.Object object, java.lang.Object rowId, SharedSessionContractImplementor session)
Update an objectprotected boolean
AbstractEntityPersister. update(java.io.Serializable id, java.lang.Object[] fields, java.lang.Object[] oldFields, java.lang.Object rowId, boolean[] includeProperty, int j, java.lang.Object oldVersion, java.lang.Object object, java.lang.String sql, SharedSessionContractImplementor session)
void
EntityPersister. update(java.io.Serializable id, java.lang.Object[] fields, int[] dirtyFields, boolean hasDirtyCollection, java.lang.Object[] oldFields, java.lang.Object oldVersion, java.lang.Object object, java.lang.Object rowId, SharedSessionContractImplementor session)
Update a persistent instanceprotected void
AbstractEntityPersister. updateOrInsert(java.io.Serializable id, java.lang.Object[] fields, java.lang.Object[] oldFields, java.lang.Object rowId, boolean[] includeProperty, int j, java.lang.Object oldVersion, java.lang.Object object, java.lang.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 java.lang.String
MessageHelper. collectionInfoString(CollectionPersister persister, PersistentCollection collection, java.io.Serializable collectionKey, SharedSessionContractImplementor session)
Generate an info message string relating to a particular managed collection. -
Uses of SharedSessionContractImplementor in org.hibernate.procedure
Methods in org.hibernate.procedure with parameters of type SharedSessionContractImplementor Modifier and Type Method Description ProcedureCall
ProcedureCallMemento. makeProcedureCall(SharedSessionContractImplementor session)
Convert the memento back into an executable (connected) form. -
Uses of SharedSessionContractImplementor in org.hibernate.procedure.spi
Methods in org.hibernate.procedure.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
CallableStatementSupport. registerParameters(java.lang.String procedureName, java.sql.CallableStatement statement, ParameterStrategy parameterStrategy, java.util.List<ParameterRegistrationImplementor<?>> parameterRegistrations, SharedSessionContractImplementor session)
default java.lang.String
CallableStatementSupport. renderCallableStatement(java.lang.String name, ParameterStrategy parameterStrategy, java.util.List<ParameterRegistrationImplementor<?>> parameterRegistrations, SharedSessionContractImplementor session)
default java.lang.String
CallableStatementSupport. renderCallableStatement(java.lang.String procedureName, org.hibernate.query.procedure.internal.ProcedureParameterMetadata parameterMetadata, org.hibernate.query.procedure.internal.ProcedureParamBindings paramBindings, 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 java.lang.Object
EnhancedGetterMethodImpl. getForInsert(java.lang.Object owner, java.util.Map mergeMap, SharedSessionContractImplementor session)
Deprecated.java.lang.Object
Getter. getForInsert(java.lang.Object owner, java.util.Map mergeMap, SharedSessionContractImplementor session)
Get the property value from the given owner instance.java.lang.Object
GetterFieldImpl. getForInsert(java.lang.Object owner, java.util.Map mergeMap, SharedSessionContractImplementor session)
java.lang.Object
GetterMethodImpl. getForInsert(java.lang.Object owner, java.util.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 java.lang.Object
AbstractLazyInitializer. getImplementation(SharedSessionContractImplementor s)
java.lang.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(java.io.Serializable 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(java.lang.String entityName, java.io.Serializable 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(java.io.Serializable 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(java.lang.String entityName, java.lang.Class persistentClass, java.io.Serializable id, java.lang.reflect.Method getIdentifierMethod, java.lang.reflect.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(java.io.Serializable id, SharedSessionContractImplementor session)
Constructors in org.hibernate.proxy.pojo.bytebuddy with parameters of type SharedSessionContractImplementor Constructor Description ByteBuddyInterceptor(java.lang.String entityName, java.lang.Class persistentClass, java.lang.Class[] interfaces, java.io.Serializable id, java.lang.reflect.Method getIdentifierMethod, java.lang.reflect.Method setIdentifierMethod, CompositeType componentIdType, SharedSessionContractImplementor session, boolean overridesEquals)
-
Uses of SharedSessionContractImplementor in org.hibernate.proxy.pojo.javassist
Methods in org.hibernate.proxy.pojo.javassist with parameters of type SharedSessionContractImplementor Modifier and Type Method Description HibernateProxy
JavassistProxyFactory. getProxy(java.io.Serializable id, SharedSessionContractImplementor session)
Constructors in org.hibernate.proxy.pojo.javassist with parameters of type SharedSessionContractImplementor Constructor Description JavassistLazyInitializer(java.lang.String entityName, java.lang.Class persistentClass, java.lang.Class[] interfaces, java.io.Serializable id, java.lang.reflect.Method getIdentifierMethod, java.lang.reflect.Method setIdentifierMethod, CompositeType componentIdType, SharedSessionContractImplementor session, boolean overridesEquals)
-
Uses of SharedSessionContractImplementor in org.hibernate.query.spi
Methods in org.hibernate.query.spi with parameters of type SharedSessionContractImplementor Modifier and Type Method Description java.lang.String
QueryParameterBindings. expandListValuedParameters(java.lang.String queryString, SharedSessionContractImplementor producer)
-
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.testing.cache
Methods in org.hibernate.testing.cache with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
MapStorageAccessImpl. clearCache(SharedSessionContractImplementor session)
java.lang.Object
MapStorageAccessImpl. getFromCache(java.lang.Object key, SharedSessionContractImplementor session)
void
MapStorageAccessImpl. putIntoCache(java.lang.Object key, java.lang.Object value, SharedSessionContractImplementor session)
void
MapStorageAccessImpl. removeFromCache(java.lang.Object key, SharedSessionContractImplementor session)
-
Uses of SharedSessionContractImplementor in org.hibernate.tuple.entity
Methods in org.hibernate.tuple.entity with parameters of type SharedSessionContractImplementor Modifier and Type Method Description void
AbstractEntityTuplizer. afterInitialize(java.lang.Object entity, SharedSessionContractImplementor session)
void
EntityTuplizer. afterInitialize(java.lang.Object entity, SharedSessionContractImplementor session)
Called just after the entities properties have been initialized.void
PojoEntityTuplizer. afterInitialize(java.lang.Object entity, SharedSessionContractImplementor session)
PersistentAttributeInterceptable
BytecodeEnhancementMetadataNonPojoImpl. createEnhancedProxy(EntityKey keyToLoad, boolean addEmptyEntry, SharedSessionContractImplementor session)
PersistentAttributeInterceptable
BytecodeEnhancementMetadataPojoImpl. createEnhancedProxy(EntityKey entityKey, boolean addEmptyEntry, SharedSessionContractImplementor session)
java.lang.Object
AbstractEntityTuplizer. createProxy(java.io.Serializable id, SharedSessionContractImplementor session)
java.lang.Object
EntityTuplizer. createProxy(java.io.Serializable id, SharedSessionContractImplementor session)
Generates an appropriate proxy representation of this entity for this entity-mode.java.io.Serializable
AbstractEntityTuplizer. getIdentifier(java.lang.Object entity, SharedSessionContractImplementor session)
java.io.Serializable
EntityTuplizer. getIdentifier(java.lang.Object entity, SharedSessionContractImplementor session)
Extract the identifier value from the given entity.java.lang.Object[]
AbstractEntityTuplizer. getPropertyValuesToInsert(java.lang.Object entity, java.util.Map mergeMap, SharedSessionContractImplementor session)
java.lang.Object[]
EntityTuplizer. getPropertyValuesToInsert(java.lang.Object entity, java.util.Map mergeMap, SharedSessionContractImplementor session)
Extract the values of the insertable properties of the entity (including backrefs)java.lang.Object[]
PojoEntityTuplizer. getPropertyValuesToInsert(java.lang.Object entity, java.util.Map mergeMap, SharedSessionContractImplementor session)
void
BytecodeEnhancementMetadataNonPojoImpl. injectEnhancedEntityAsProxyInterceptor(java.lang.Object entity, EntityKey entityKey, SharedSessionContractImplementor session)
void
BytecodeEnhancementMetadataPojoImpl. injectEnhancedEntityAsProxyInterceptor(java.lang.Object entity, EntityKey entityKey, SharedSessionContractImplementor session)
LazyAttributeLoadingInterceptor
BytecodeEnhancementMetadataNonPojoImpl. injectInterceptor(java.lang.Object entity, java.lang.Object identifier, SharedSessionContractImplementor session)
void
BytecodeEnhancementMetadataNonPojoImpl. injectInterceptor(java.lang.Object entity, PersistentAttributeInterceptor interceptor, SharedSessionContractImplementor session)
LazyAttributeLoadingInterceptor
BytecodeEnhancementMetadataPojoImpl. injectInterceptor(java.lang.Object entity, java.lang.Object identifier, SharedSessionContractImplementor session)
void
BytecodeEnhancementMetadataPojoImpl. injectInterceptor(java.lang.Object entity, PersistentAttributeInterceptor interceptor, SharedSessionContractImplementor session)
java.lang.Object
AbstractEntityTuplizer. instantiate(java.io.Serializable id, SharedSessionContractImplementor session)
java.lang.Object
EntityTuplizer. instantiate(java.io.Serializable id, SharedSessionContractImplementor session)
Create an entity instance initialized with the given identifier.void
AbstractEntityTuplizer. resetIdentifier(java.lang.Object entity, java.io.Serializable currentId, java.lang.Object currentVersion, SharedSessionContractImplementor session)
void
EntityTuplizer. resetIdentifier(java.lang.Object entity, java.io.Serializable currentId, java.lang.Object currentVersion, SharedSessionContractImplementor session)
Inject the given identifier and version into the entity, in order to "roll back" to their original values.void
AbstractEntityTuplizer. setIdentifier(java.lang.Object entity, java.io.Serializable id, SharedSessionContractImplementor session)
void
EntityTuplizer. setIdentifier(java.lang.Object entity, java.io.Serializable id, SharedSessionContractImplementor session)
Inject the identifier value into the given entity. -
Uses of SharedSessionContractImplementor in org.hibernate.type
Methods in org.hibernate.type with parameters of type SharedSessionContractImplementor Modifier and Type Method Description java.lang.Object
AbstractStandardBasicType. assemble(java.io.Serializable cached, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
AbstractType. assemble(java.io.Serializable cached, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
AnyType. assemble(java.io.Serializable cached, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CollectionType. assemble(java.io.Serializable cached, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
ComponentType. assemble(java.io.Serializable object, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CompositeCustomType. assemble(java.io.Serializable cached, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CustomType. assemble(java.io.Serializable cached, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
ManyToOneType. assemble(java.io.Serializable oid, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
OneToOneType. assemble(java.io.Serializable oid, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
SpecialOneToOneType. assemble(java.io.Serializable oid, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
Type. assemble(java.io.Serializable cached, SharedSessionContractImplementor session, java.lang.Object owner)
Reconstruct the object from its disassembled state.static java.lang.Object[]
TypeHelper. assemble(java.io.Serializable[] row, Type[] types, SharedSessionContractImplementor session, java.lang.Object owner)
Deprecated.Apply theType.assemble(java.io.Serializable, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object)
operation across a series of values.void
AbstractStandardBasicType. beforeAssemble(java.io.Serializable cached, SharedSessionContractImplementor session)
void
AbstractType. beforeAssemble(java.io.Serializable cached, SharedSessionContractImplementor session)
void
ManyToOneType. beforeAssemble(java.io.Serializable oid, SharedSessionContractImplementor session)
void
Type. beforeAssemble(java.io.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.static void
TypeHelper. beforeAssemble(java.io.Serializable[] row, Type[] types, SharedSessionContractImplementor session)
Deprecated.Apply theType.beforeAssemble(java.io.Serializable, org.hibernate.engine.spi.SharedSessionContractImplementor)
operation across a series of values.boolean
CollectionType. contains(java.lang.Object collection, java.lang.Object childObject, SharedSessionContractImplementor session)
boolean
CustomCollectionType. contains(java.lang.Object collection, java.lang.Object entity, SharedSessionContractImplementor session)
static void
TypeHelper. deepCopy(java.lang.Object[] values, Type[] types, boolean[] copy, java.lang.Object[] target, SharedSessionContractImplementor session)
Deprecated.Deep copy a series of values from one array to another...java.io.Serializable
AbstractStandardBasicType. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.io.Serializable
AbstractType. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.io.Serializable
AnyType. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.io.Serializable
CollectionType. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.io.Serializable
ComponentType. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.io.Serializable
CompositeCustomType. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.io.Serializable
CustomType. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.io.Serializable
ManyToOneType. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.io.Serializable
OneToOneType. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.io.Serializable
SpecialOneToOneType. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.io.Serializable
Type. disassemble(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
Return a disassembled representation of the object.static java.io.Serializable[]
TypeHelper. disassemble(java.lang.Object[] row, Type[] types, boolean[] nonCacheable, SharedSessionContractImplementor session, java.lang.Object owner)
Deprecated.Apply theType.disassemble(java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object)
operation across a series of values.T
AbstractStandardBasicType. extract(java.sql.CallableStatement statement, int startIndex, SharedSessionContractImplementor session)
T
AbstractStandardBasicType. extract(java.sql.CallableStatement statement, java.lang.String[] paramNames, SharedSessionContractImplementor session)
java.lang.Object
ComponentType. extract(java.sql.CallableStatement statement, int startIndex, SharedSessionContractImplementor session)
java.lang.Object
ComponentType. extract(java.sql.CallableStatement statement, java.lang.String[] paramNames, SharedSessionContractImplementor session)
java.lang.Object
CustomType. extract(java.sql.CallableStatement statement, int startIndex, SharedSessionContractImplementor session)
java.lang.Object
CustomType. extract(java.sql.CallableStatement statement, java.lang.String[] paramNames, SharedSessionContractImplementor session)
T
ProcedureParameterExtractionAware. extract(java.sql.CallableStatement statement, int startIndex, SharedSessionContractImplementor session)
Perform the extractionT
ProcedureParameterExtractionAware. extract(java.sql.CallableStatement statement, java.lang.String[] paramNames, SharedSessionContractImplementor session)
Perform the extractionstatic int[]
TypeHelper. findDirty(NonIdentifierAttribute[] properties, java.lang.Object[] currentState, java.lang.Object[] previousState, boolean[][] includeColumns, boolean anyUninitializedProperties, SharedSessionContractImplementor session)
Deprecated.Use {org.hibernate.type.TypeHelperTypeHelper.findDirty(NonIdentifierAttribute[], Object[], Object[], boolean[][], SharedSessionContractImplementor)
indteadstatic int[]
TypeHelper. findDirty(NonIdentifierAttribute[] properties, java.lang.Object[] currentState, java.lang.Object[] previousState, boolean[][] includeColumns, SharedSessionContractImplementor session)
Deprecated.Determine if any of the given field values are dirty, returning an array containing indices of the dirty fields.static int[]
TypeHelper. findModified(NonIdentifierAttribute[] properties, java.lang.Object[] currentState, java.lang.Object[] previousState, boolean[][] includeColumns, boolean[] includeProperties, boolean anyUninitializedProperties, SharedSessionContractImplementor session)
static int[]
TypeHelper. findModified(NonIdentifierAttribute[] properties, java.lang.Object[] currentState, java.lang.Object[] previousState, boolean[][] includeColumns, boolean[] includeProperties, SharedSessionContractImplementor session)
Deprecated.Determine if any of the given field values are modified, returning an array containing indices of the modified fields.java.lang.Object
AbstractStandardBasicType. get(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session)
java.lang.Object
SingleColumnType. get(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session)
Get a column value from a result set, without worrying about the possibility of null values.java.lang.Object
CollectionType. getCollection(java.io.Serializable key, SharedSessionContractImplementor session, java.lang.Object owner, java.lang.Boolean overridingEager)
instantiate a collection wrapper (called when loading an object)java.util.Iterator
CollectionType. getElementsIterator(java.lang.Object collection, SharedSessionContractImplementor session)
Get an iterator over the element set of the collection, which may not yet be wrappedprotected java.lang.Object
EntityType. getIdentifier(java.lang.Object value, SharedSessionContractImplementor session)
java.io.Serializable
CollectionType. getIdOfOwnerOrNull(java.io.Serializable key, SharedSessionContractImplementor session)
Get the id value from the owning entity key, usually the same as the key, but might be some other property, in the case of property-refjava.io.Serializable
CollectionType. getKeyOfOwner(java.lang.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-refjava.lang.Object
AnyType. getPropertyValue(java.lang.Object component, int i, SharedSessionContractImplementor session)
java.lang.Object
ComponentType. getPropertyValue(java.lang.Object component, int i, SharedSessionContractImplementor session)
java.lang.Object
CompositeCustomType. getPropertyValue(java.lang.Object component, int i, SharedSessionContractImplementor session)
java.lang.Object
CompositeType. getPropertyValue(java.lang.Object component, int index, SharedSessionContractImplementor session)
Extract a particular component property value indicated by index.java.lang.Object[]
AnyType. getPropertyValues(java.lang.Object component, SharedSessionContractImplementor session)
java.lang.Object[]
ComponentType. getPropertyValues(java.lang.Object component, SharedSessionContractImplementor session)
java.lang.Object[]
CompositeCustomType. getPropertyValues(java.lang.Object component, SharedSessionContractImplementor session)
java.lang.Object[]
CompositeType. getPropertyValues(java.lang.Object component, SharedSessionContractImplementor session)
Extract the values of the component properties from the given component instanceprotected T
AbstractStandardBasicType. getReplacement(T original, T target, SharedSessionContractImplementor session)
protected java.sql.Blob
BlobType. getReplacement(java.sql.Blob original, java.sql.Blob target, SharedSessionContractImplementor session)
protected java.sql.Clob
ClobType. getReplacement(java.sql.Clob original, java.sql.Clob target, SharedSessionContractImplementor session)
protected java.sql.NClob
NClobType. getReplacement(java.sql.NClob original, java.sql.NClob target, SharedSessionContractImplementor session)
java.lang.Object
AbstractStandardBasicType. hydrate(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
AbstractType. hydrate(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
AnyType. hydrate(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CollectionType. hydrate(java.sql.ResultSet rs, java.lang.String[] name, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
ComponentType. hydrate(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
ManyToOneType. hydrate(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
OneToOneType. hydrate(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
SpecialOneToOneType. hydrate(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
Type. hydrate(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
Extract a value from the JDBC result set.PersistentCollection
ArrayType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, java.io.Serializable key)
PersistentCollection
BagType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, java.io.Serializable key)
abstract PersistentCollection
CollectionType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, java.io.Serializable key)
Instantiate an uninitialized collection wrapper or holder.java.lang.Object
ComponentType. instantiate(java.lang.Object parent, SharedSessionContractImplementor session)
PersistentCollection
CustomCollectionType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, java.io.Serializable key)
java.lang.Object
EmbeddedComponentType. instantiate(java.lang.Object parent, SharedSessionContractImplementor session)
PersistentCollection
IdentifierBagType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, java.io.Serializable key)
PersistentCollection
ListType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, java.io.Serializable key)
PersistentCollection
MapType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, java.io.Serializable key)
PersistentCollection
SetType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, java.io.Serializable key)
PersistentCollection
SortedMapType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, java.io.Serializable key)
PersistentCollection
SortedSetType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, java.io.Serializable key)
boolean
AbstractStandardBasicType. isDirty(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
AbstractStandardBasicType. isDirty(java.lang.Object old, java.lang.Object current, SharedSessionContractImplementor session)
boolean
AbstractType. isDirty(java.lang.Object old, java.lang.Object current, SharedSessionContractImplementor session)
boolean
AnyType. isDirty(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
CollectionType. isDirty(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
CollectionType. isDirty(java.lang.Object old, java.lang.Object current, SharedSessionContractImplementor session)
boolean
ComponentType. isDirty(java.lang.Object x, java.lang.Object y, boolean[] checkable, SharedSessionContractImplementor session)
boolean
ComponentType. isDirty(java.lang.Object x, java.lang.Object y, SharedSessionContractImplementor session)
boolean
CompositeCustomType. isDirty(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
CustomType. isDirty(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
ManyToOneType. isDirty(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
ManyToOneType. isDirty(java.lang.Object old, java.lang.Object current, SharedSessionContractImplementor session)
boolean
MetaType. isDirty(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
OneToOneType. isDirty(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
OneToOneType. isDirty(java.lang.Object old, java.lang.Object current, SharedSessionContractImplementor session)
boolean
Type. isDirty(java.lang.Object oldState, java.lang.Object currentState, boolean[] checkable, SharedSessionContractImplementor session)
Should the parent be considered dirty, given both the old and current value?boolean
Type. isDirty(java.lang.Object old, java.lang.Object current, SharedSessionContractImplementor session)
Should the parent be considered dirty, given both the old and current value?boolean
AbstractStandardBasicType. isModified(java.lang.Object oldHydratedState, java.lang.Object currentState, boolean[] checkable, SharedSessionContractImplementor session)
boolean
AbstractType. isModified(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
AnyType. isModified(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
CollectionType. isModified(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
ComponentType. isModified(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
ManyToOneType. isModified(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
OneToOneType. isModified(java.lang.Object old, java.lang.Object current, boolean[] checkable, SharedSessionContractImplementor session)
boolean
Type. isModified(java.lang.Object dbState, java.lang.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(java.lang.Object owner, SharedSessionContractImplementor session)
boolean
OneToOneType. isNull(java.lang.Object owner, SharedSessionContractImplementor session)
java.lang.Object
EntityType. loadByUniqueKey(java.lang.String entityName, java.lang.String uniqueKeyPropertyName, java.lang.Object key, SharedSessionContractImplementor session)
Load an instance by a unique key that is not the primary key.byte[]
BinaryType. next(byte[] current, SharedSessionContractImplementor session)
Deprecated.useRowVersionType
for binary entity versions/timestampsjava.lang.Byte
ByteType. next(java.lang.Byte current, SharedSessionContractImplementor session)
java.util.Calendar
CalendarType. next(java.util.Calendar current, SharedSessionContractImplementor session)
java.lang.Object
CustomType. next(java.lang.Object current, SharedSessionContractImplementor session)
java.time.Instant
InstantType. next(java.time.Instant current, SharedSessionContractImplementor session)
java.lang.Integer
IntegerType. next(java.lang.Integer current, SharedSessionContractImplementor session)
java.time.LocalDateTime
LocalDateTimeType. next(java.time.LocalDateTime current, SharedSessionContractImplementor session)
java.lang.Long
LongType. next(java.lang.Long current, SharedSessionContractImplementor session)
java.time.OffsetDateTime
OffsetDateTimeType. next(java.time.OffsetDateTime current, SharedSessionContractImplementor session)
byte[]
RowVersionType. next(byte[] current, SharedSessionContractImplementor session)
java.lang.Short
ShortType. next(java.lang.Short current, SharedSessionContractImplementor session)
java.util.Date
TimestampType. next(java.util.Date current, SharedSessionContractImplementor session)
T
VersionType. next(T current, SharedSessionContractImplementor session)
Increment the version.java.time.ZonedDateTime
ZonedDateTimeType. next(java.time.ZonedDateTime current, SharedSessionContractImplementor session)
java.lang.Object
AbstractStandardBasicType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
T
AbstractStandardBasicType. nullSafeGet(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session)
java.lang.Object
AbstractStandardBasicType. nullSafeGet(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
AnyType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
AnyType. nullSafeGet(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CollectionType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] name, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CollectionType. nullSafeGet(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
ComponentType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
ComponentType. nullSafeGet(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CompositeCustomType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CompositeCustomType. nullSafeGet(java.sql.ResultSet rs, java.lang.String columnName, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CustomType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CustomType. nullSafeGet(java.sql.ResultSet rs, java.lang.String columnName, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
EntityType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
EntityType. nullSafeGet(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
EnumType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
MetaType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
MetaType. nullSafeGet(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session, java.lang.Object owner)
T
SingleColumnType. nullSafeGet(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session)
Get a column value from a result set by name.java.lang.Object
Type. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
Extract a value of themapped class
from the JDBC result set.java.lang.Object
Type. nullSafeGet(java.sql.ResultSet rs, java.lang.String name, SharedSessionContractImplementor session, java.lang.Object owner)
Extract a value of themapped class
from the JDBC result set.void
AbstractSingleColumnStandardBasicType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
AbstractStandardBasicType. nullSafeSet(java.sql.CallableStatement st, java.lang.Object value, java.lang.String name, SharedSessionContractImplementor session)
void
AbstractStandardBasicType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
void
AnyType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
AnyType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
void
CollectionType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
CollectionType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
void
ComponentType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int begin, boolean[] settable, SharedSessionContractImplementor session)
void
ComponentType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int begin, SharedSessionContractImplementor session)
void
CompositeCustomType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
CompositeCustomType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
void
CustomType. nullSafeSet(java.sql.CallableStatement statement, java.lang.Object value, java.lang.String name, SharedSessionContractImplementor session)
void
CustomType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
CustomType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
void
EntityType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
EntityType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
void
EnumType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
void
MetaType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
MetaType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
void
OneToOneType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, boolean[] settable, SharedSessionContractImplementor session)
void
ProcedureParameterNamedBinder. nullSafeSet(java.sql.CallableStatement statement, java.lang.Object value, java.lang.String name, SharedSessionContractImplementor session)
Bind a value to the JDBC prepared statement, ignoring some columns as dictated by the 'settable' parameter.void
Type. nullSafeSet(java.sql.PreparedStatement st, java.lang.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(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
Bind a value represented by an instance of themapped class
to the JDBC prepared statement.java.lang.Object
AbstractStandardBasicType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache)
java.lang.Object
AbstractStandardBasicType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache, ForeignKeyDirection foreignKeyDirection)
java.lang.Object
AbstractType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache, ForeignKeyDirection foreignKeyDirection)
java.lang.Object
AnyType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache)
java.lang.Object
CollectionType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache)
java.lang.Object
ComponentType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache)
java.lang.Object
ComponentType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache, ForeignKeyDirection foreignKeyDirection)
java.lang.Object
CompositeCustomType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache)
java.lang.Object
CustomType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache)
java.lang.Object
EntityType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache)
java.lang.Object
MetaType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache)
java.lang.Object
Type. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache)
During merge, replace the existing (target) value in the entity we are merging to with a new (original) value from the detached entity we are merging.java.lang.Object
Type. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache, ForeignKeyDirection foreignKeyDirection)
During merge, replace the existing (target) value in the entity we are merging to with a new (original) value from the detached entity we are merging.static java.lang.Object[]
TypeHelper. replace(java.lang.Object[] original, java.lang.Object[] target, Type[] types, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache)
Deprecated.Apply theType.replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map)
operation across a series of values.static java.lang.Object[]
TypeHelper. replace(java.lang.Object[] original, java.lang.Object[] target, Type[] types, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache, ForeignKeyDirection foreignKeyDirection)
Deprecated.Apply theType.replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map)
operation across a series of values.static java.lang.Object[]
TypeHelper. replaceAssociations(java.lang.Object[] original, java.lang.Object[] target, Type[] types, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache, ForeignKeyDirection foreignKeyDirection)
Deprecated.Apply theType.replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map)
operation across a series of values, as long as the correspondingType
is an association.java.lang.Object
ArrayType. replaceElements(java.lang.Object original, java.lang.Object target, java.lang.Object owner, java.util.Map copyCache, SharedSessionContractImplementor session)
java.lang.Object
CollectionType. replaceElements(java.lang.Object original, java.lang.Object target, java.lang.Object owner, java.util.Map copyCache, SharedSessionContractImplementor session)
Replace the elements of a collection with the elements of another collection.java.lang.Object
CustomCollectionType. replaceElements(java.lang.Object original, java.lang.Object target, java.lang.Object owner, java.util.Map copyCache, SharedSessionContractImplementor session)
java.lang.Object
MapType. replaceElements(java.lang.Object original, java.lang.Object target, java.lang.Object owner, java.util.Map copyCache, SharedSessionContractImplementor session)
java.lang.Object
AbstractStandardBasicType. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
AbstractType. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
AnyType. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CollectionType. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CollectionType. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner, java.lang.Boolean overridingEager)
java.lang.Object
ComponentType. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
EntityType. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
Resolve an identifier or unique key valuejava.lang.Object
EntityType. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner, java.lang.Boolean overridingEager)
java.lang.Object
ManyToOneType. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner, java.lang.Boolean overridingEager)
java.lang.Object
Type. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
default java.lang.Object
Type. resolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner, java.lang.Boolean overridingEager)
The second phase of 2-phase loading.protected java.lang.Object
EntityType. resolveIdentifier(java.io.Serializable id, SharedSessionContractImplementor session)
protected java.lang.Object
EntityType. resolveIdentifier(java.io.Serializable id, SharedSessionContractImplementor session, java.lang.Boolean overridingEager)
Resolve an identifier via a load.byte[]
BinaryType. seed(SharedSessionContractImplementor session)
Deprecated.useRowVersionType
for binary entity versions/timestampsjava.lang.Byte
ByteType. seed(SharedSessionContractImplementor session)
java.util.Calendar
CalendarType. seed(SharedSessionContractImplementor session)
java.lang.Object
CustomType. seed(SharedSessionContractImplementor session)
java.util.Date
DbTimestampType. seed(SharedSessionContractImplementor session)
java.time.Instant
InstantType. seed(SharedSessionContractImplementor session)
java.lang.Integer
IntegerType. seed(SharedSessionContractImplementor session)
java.time.LocalDateTime
LocalDateTimeType. seed(SharedSessionContractImplementor session)
java.lang.Long
LongType. seed(SharedSessionContractImplementor session)
java.time.OffsetDateTime
OffsetDateTimeType. seed(SharedSessionContractImplementor session)
byte[]
RowVersionType. seed(SharedSessionContractImplementor session)
java.lang.Short
ShortType. seed(SharedSessionContractImplementor session)
java.util.Date
TimestampType. seed(SharedSessionContractImplementor session)
T
VersionType. seed(SharedSessionContractImplementor session)
Generate an initial version.java.time.ZonedDateTime
ZonedDateTimeType. seed(SharedSessionContractImplementor session)
java.lang.Object
AbstractStandardBasicType. semiResolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
AbstractType. semiResolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
AnyType. semiResolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
CollectionType. semiResolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
ComponentType. semiResolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
java.lang.Object
Type. semiResolve(java.lang.Object value, SharedSessionContractImplementor session, java.lang.Object owner)
Given a hydrated, but unresolved value, return a value that may be used to reconstruct property-ref associations.void
AbstractStandardBasicType. set(java.sql.PreparedStatement st, T value, int index, SharedSessionContractImplementor session)
void
SingleColumnType. set(java.sql.PreparedStatement st, T value, int index, SharedSessionContractImplementor session)
Set a parameter value without worrying about the possibility of null values.PersistentCollection
ArrayType. wrap(SharedSessionContractImplementor session, java.lang.Object array)
PersistentCollection
BagType. wrap(SharedSessionContractImplementor session, java.lang.Object collection)
abstract PersistentCollection
CollectionType. wrap(SharedSessionContractImplementor session, java.lang.Object collection)
Wrap the naked collection instance in a wrapper, or instantiate a holder.PersistentCollection
CustomCollectionType. wrap(SharedSessionContractImplementor session, java.lang.Object collection)
PersistentCollection
IdentifierBagType. wrap(SharedSessionContractImplementor session, java.lang.Object collection)
PersistentCollection
ListType. wrap(SharedSessionContractImplementor session, java.lang.Object collection)
PersistentCollection
MapType. wrap(SharedSessionContractImplementor session, java.lang.Object collection)
PersistentCollection
SetType. wrap(SharedSessionContractImplementor session, java.lang.Object collection)
PersistentCollection
SortedMapType. wrap(SharedSessionContractImplementor session, java.lang.Object collection)
PersistentCollection
SortedSetType. wrap(SharedSessionContractImplementor session, java.lang.Object collection)
-
Uses of SharedSessionContractImplementor in org.hibernate.usertype
Methods in org.hibernate.usertype with parameters of type SharedSessionContractImplementor Modifier and Type Method Description java.lang.Object
CompositeUserType. assemble(java.io.Serializable cached, SharedSessionContractImplementor session, java.lang.Object owner)
Reconstruct an object from the cacheable representation.java.io.Serializable
CompositeUserType. disassemble(java.lang.Object value, SharedSessionContractImplementor session)
Transform the object into its cacheable representation.PersistentCollection
UserCollectionType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister)
Instantiate an uninitialized instance of the collection wrapperjava.lang.Object
UserVersionType. next(java.lang.Object current, SharedSessionContractImplementor session)
Increment the version.java.lang.Object
CompositeUserType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
Retrieve an instance of the mapped class from a JDBC resultset.java.lang.Object
UserType. nullSafeGet(java.sql.ResultSet rs, java.lang.String[] names, SharedSessionContractImplementor session, java.lang.Object owner)
Retrieve an instance of the mapped class from a JDBC resultset.void
CompositeUserType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
Write an instance of the mapped class to a prepared statement.void
UserType. nullSafeSet(java.sql.PreparedStatement st, java.lang.Object value, int index, SharedSessionContractImplementor session)
Write an instance of the mapped class to a prepared statement.java.lang.Object
CompositeUserType. replace(java.lang.Object original, java.lang.Object target, SharedSessionContractImplementor session, java.lang.Object owner)
During merge, replace the existing (target) value in the entity we are merging to with a new (original) value from the detached entity we are merging.java.lang.Object
UserCollectionType. replaceElements(java.lang.Object original, java.lang.Object target, CollectionPersister persister, java.lang.Object owner, java.util.Map copyCache, SharedSessionContractImplementor session)
Replace the elements of a collection with the elements of another collectionjava.lang.Object
UserVersionType. seed(SharedSessionContractImplementor session)
Generate an initial version.PersistentCollection
UserCollectionType. wrap(SharedSessionContractImplementor session, java.lang.Object collection)
Wrap an instance of a collection
-