Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.action.internal |
Internals for action processing.
|
org.hibernate.action.spi |
Defines SPI hooks into the
ActionQueue . |
org.hibernate.bytecode.instrumentation.internal |
Bytecode instrumentation internals
|
org.hibernate.bytecode.instrumentation.internal.javassist |
Javassist support internals
|
org.hibernate.bytecode.instrumentation.spi |
Package defining bytecode code enhancement (instrumentation) support.
|
org.hibernate.bytecode.spi |
Package defining bytecode code enhancement (instrumentation) support.
|
org.hibernate.cache.internal |
Internal implementations and support for second-level caching.
|
org.hibernate.cache.spi |
Defines the Hibernate second level caching SPI.
|
org.hibernate.cache.spi.entry |
This package defines formats for disassembled state kept in the second level cache.
|
org.hibernate.collection.internal |
Internal implementations and support for persistent collections
|
org.hibernate.collection.spi |
SPI definitions for persistent collections
|
org.hibernate.dialect |
This package abstracts the SQL dialect of the underlying database.
|
org.hibernate.dialect.lock |
Support for Dialect-specific locking strategies
|
org.hibernate.engine.internal |
Support for many of the internal workings of Hibernate.
|
org.hibernate.engine.query.spi |
Defines support for query plans and stored metadata about queries
|
org.hibernate.engine.spi | |
org.hibernate.envers.event.spi | |
org.hibernate.envers.internal.entities | |
org.hibernate.envers.internal.entities.mapper | |
org.hibernate.envers.internal.entities.mapper.relation | |
org.hibernate.envers.internal.entities.mapper.relation.component | |
org.hibernate.envers.internal.entities.mapper.relation.lazy | |
org.hibernate.envers.internal.reader | |
org.hibernate.envers.internal.synchronization | |
org.hibernate.envers.internal.synchronization.work | |
org.hibernate.envers.internal.tools | |
org.hibernate.event.internal |
This package defines a default set of event listeners that
implements the default behaviors of Hibernate.
|
org.hibernate.event.spi | |
org.hibernate.hql.internal.ast |
An ANTLR-based parser for Hibernate Query Language.
|
org.hibernate.hql.internal.ast.exec | |
org.hibernate.hql.internal.classic |
This package contains the Hibernate 2.x query parser which
is being end-of-lifed.
|
org.hibernate.hql.spi | |
org.hibernate.id |
This package contains internal implementation classes for the
main API interfaces.
|
org.hibernate.id.enhanced |
Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified
configuration
|
org.hibernate.id.insert | |
org.hibernate.id.uuid | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.jpa.event.internal.core | |
org.hibernate.loader |
This package defines functionality for processing JDBC
result sets and returning complex graphs of persistent
objects.
|
org.hibernate.loader.collection |
This package defines collection initializers
|
org.hibernate.loader.collection.plan | |
org.hibernate.loader.criteria |
This package defines the criteria query compiler and loader
|
org.hibernate.loader.custom |
This package defines a framework for custom loaders that accept
handwritten SQL
|
org.hibernate.loader.entity |
This package defines entity loaders
|
org.hibernate.loader.entity.plan | |
org.hibernate.loader.hql |
This package defines a loader for the AST-based query parser
|
org.hibernate.loader.plan.exec.internal |
Provides the internal implementations for generating the load query from the LoadPlan and the ResultSet processor.
|
org.hibernate.loader.plan.exec.process.internal | |
org.hibernate.loader.plan.exec.process.spi | |
org.hibernate.loader.spi | |
org.hibernate.mapping |
This package defines the Hibernate configuration-time metamodel.
|
org.hibernate.metadata |
This package defines an API for accessing the Hibernate
runtime metamodel.
|
org.hibernate.param | |
org.hibernate.persister.collection |
This package abstracts the persistence mechanism for collections.
|
org.hibernate.persister.entity |
This package abstracts persistence mechanisms for
entities, and defines the Hibernate runtime
metamodel.
|
org.hibernate.pretty |
Classes for pretty printing things for exception
and log messages.
|
org.hibernate.procedure | |
org.hibernate.procedure.internal |
Defines the internal support for implementing stored procedure calling.
|
org.hibernate.procedure.spi | |
org.hibernate.property |
This package abstracts the notion of a "property" of
an entity.
|
org.hibernate.proxy |
This package defines a framework for lazy-initializing
entity proxies.
|
org.hibernate.proxy.map | |
org.hibernate.proxy.pojo | |
org.hibernate.proxy.pojo.javassist | |
org.hibernate.result.spi | |
org.hibernate.secure.internal | |
org.hibernate.stat.internal | |
org.hibernate.tuple.entity | |
org.hibernate.type |
A Hibernate Type is a strategy for mapping a
Java property type to a JDBC type or types.
|
org.hibernate.usertype |
Interfaces for user-defined custom types.
|
Modifier and Type | Method and Description |
---|---|
static LobCreator |
Hibernate.getLobCreator(SessionImplementor session)
Obtain a lob creator for the given session.
|
Modifier and Type | Method and Description |
---|---|
protected SessionImplementor |
CollectionAction.getSession() |
SessionImplementor |
EntityAction.getSession()
originating session accessor
|
Modifier and Type | Method and Description |
---|---|
void |
CollectionAction.afterDeserialize(SessionImplementor session)
Reconnect to session after deserialization...
|
void |
AbstractEntityInsertAction.afterDeserialize(SessionImplementor session) |
void |
EntityAction.afterDeserialize(SessionImplementor session)
Reconnect to session after deserialization...
|
void |
BulkOperationCleanupAction.afterDeserialize(SessionImplementor session) |
static UnresolvedEntityInsertActions |
UnresolvedEntityInsertActions.deserialize(ObjectInputStream ois,
SessionImplementor session)
Deerialize a
UnresolvedEntityInsertActions object. |
void |
EntityIdentityInsertAction.doAfterTransactionCompletion(boolean success,
SessionImplementor session) |
void |
EntityDeleteAction.doAfterTransactionCompletion(boolean success,
SessionImplementor session) |
void |
EntityInsertAction.doAfterTransactionCompletion(boolean success,
SessionImplementor session) |
void |
EntityUpdateAction.doAfterTransactionCompletion(boolean success,
SessionImplementor session) |
void |
EntityIncrementVersionProcess.doBeforeTransactionCompletion(SessionImplementor session)
Perform whatever processing is encapsulated here before completion of the transaction.
|
void |
EntityVerifyVersionProcess.doBeforeTransactionCompletion(SessionImplementor session) |
Set<AbstractEntityInsertAction> |
UnresolvedEntityInsertActions.resolveDependentActions(Object managedEntity,
SessionImplementor session)
Resolve any dependencies on
managedEntity . |
Constructor and Description |
---|
AbstractEntityInsertAction(Serializable id,
Object[] state,
Object instance,
boolean isVersionIncrementDisabled,
EntityPersister persister,
SessionImplementor session)
Constructs an AbstractEntityInsertAction object.
|
BulkOperationCleanupAction(SessionImplementor session,
Queryable... affectedQueryables)
Constructs an action to cleanup "affected cache regions" based on the
affected entity persisters.
|
BulkOperationCleanupAction(SessionImplementor session,
Set tableSpaces)
Constructs an action to cleanup "affected cache regions" based on a
set of affected table spaces.
|
CollectionAction(CollectionPersister persister,
PersistentCollection collection,
Serializable key,
SessionImplementor session) |
CollectionRecreateAction(PersistentCollection collection,
CollectionPersister persister,
Serializable id,
SessionImplementor session)
Constructs a CollectionRecreateAction
|
CollectionRemoveAction(Object affectedOwner,
CollectionPersister persister,
Serializable id,
boolean emptySnapshot,
SessionImplementor session)
Removes a persistent collection from a specified owner.
|
CollectionRemoveAction(PersistentCollection collection,
CollectionPersister persister,
Serializable id,
boolean emptySnapshot,
SessionImplementor session)
Removes a persistent collection from its loaded owner.
|
CollectionUpdateAction(PersistentCollection collection,
CollectionPersister persister,
Serializable id,
boolean emptySnapshot,
SessionImplementor session)
Constructs a CollectionUpdateAction
|
EntityAction(SessionImplementor session,
Serializable id,
Object instance,
EntityPersister persister)
Instantiate an action.
|
EntityDeleteAction(Serializable id,
Object[] state,
Object version,
Object instance,
EntityPersister persister,
boolean isCascadeDeleteEnabled,
SessionImplementor session)
Constructs an EntityDeleteAction.
|
EntityIdentityInsertAction(Object[] state,
Object instance,
EntityPersister persister,
boolean isVersionIncrementDisabled,
SessionImplementor session,
boolean isDelayed)
Constructs an EntityIdentityInsertAction
|
EntityInsertAction(Serializable id,
Object[] state,
Object instance,
Object version,
EntityPersister persister,
boolean isVersionIncrementDisabled,
SessionImplementor session)
Constructs an EntityInsertAction.
|
EntityUpdateAction(Serializable id,
Object[] state,
int[] dirtyProperties,
boolean hasDirtyCollection,
Object[] previousState,
Object previousVersion,
Object nextVersion,
Object instance,
Object rowId,
EntityPersister persister,
SessionImplementor session)
Constructs an EntityUpdateAction
|
OrphanRemovalAction(Serializable id,
Object[] state,
Object version,
Object instance,
EntityPersister persister,
boolean isCascadeDeleteEnabled,
SessionImplementor session) |
QueuedOperationCollectionAction(PersistentCollection collection,
CollectionPersister persister,
Serializable id,
SessionImplementor session)
Constructs a CollectionUpdateAction
|
Modifier and Type | Method and Description |
---|---|
void |
Executable.afterDeserialize(SessionImplementor session)
Reconnect to session after deserialization
|
void |
AfterTransactionCompletionProcess.doAfterTransactionCompletion(boolean success,
SessionImplementor session)
Perform whatever processing is encapsulated here after completion of the transaction.
|
void |
BeforeTransactionCompletionProcess.doBeforeTransactionCompletion(SessionImplementor session)
Perform whatever processing is encapsulated here before completion of the transaction.
|
Modifier and Type | Method and Description |
---|---|
static FieldInterceptor |
FieldInterceptionHelper.injectFieldInterceptor(Object entity,
String entityName,
Set uninitializedFieldNames,
SessionImplementor session)
Assuming the given object is an enhanced entity, inject a field interceptor.
|
Modifier and Type | Method and Description |
---|---|
static FieldInterceptor |
JavassistHelper.injectFieldInterceptor(Object entity,
String entityName,
Set uninitializedFieldNames,
SessionImplementor session)
Perform the Javassist-specific field interceptor injection
|
Modifier and Type | Method and Description |
---|---|
SessionImplementor |
AbstractFieldInterceptor.getSession()
Access to the session
|
Modifier and Type | Method and Description |
---|---|
Object |
LazyPropertyInitializer.initializeLazyProperty(String fieldName,
Object entity,
SessionImplementor session)
Initialize the property, and return its new value.
|
void |
FieldInterceptor.setSession(SessionImplementor session)
Use to associate the entity to which we are bound to the given session.
|
void |
AbstractFieldInterceptor.setSession(SessionImplementor session) |
Constructor and Description |
---|
AbstractFieldInterceptor(SessionImplementor session,
Set uninitializedFields,
String entityName) |
Modifier and Type | Method and Description |
---|---|
FieldInterceptor |
EntityInstrumentationMetadata.injectInterceptor(Object entity,
String entityName,
Set uninitializedFieldNames,
SessionImplementor session)
Build and inject a field interceptor instance into the instrumented entity.
|
Modifier and Type | Method and Description |
---|---|
List |
StandardQueryCache.get(QueryKey key,
Type[] returnTypes,
boolean isNaturalKeyLookup,
Set<Serializable> spaces,
SessionImplementor session) |
protected boolean |
StandardQueryCache.isUpToDate(Set<Serializable> spaces,
Long timestamp,
SessionImplementor session) |
boolean |
StandardQueryCache.put(QueryKey key,
Type[] returnTypes,
List result,
boolean isNaturalKeyLookup,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
static QueryKey |
QueryKey.generateQueryKey(String queryString,
QueryParameters queryParameters,
Set filterKeys,
SessionImplementor session,
CacheableResultTransformer customTransformer)
Generates a QueryKey.
|
List |
QueryCache.get(QueryKey key,
Type[] returnTypes,
boolean isNaturalKeyLookup,
Set<Serializable> spaces,
SessionImplementor session)
Get results from the cache.
|
void |
UpdateTimestampsCache.invalidate(Serializable[] spaces,
SessionImplementor session)
Perform invalidation.
|
boolean |
UpdateTimestampsCache.isUpToDate(Set<Serializable> spaces,
Long timestamp,
SessionImplementor session)
Perform an up-to-date check for the given set of query spaces.
|
void |
UpdateTimestampsCache.preInvalidate(Serializable[] spaces,
SessionImplementor session)
Perform pre-invalidation.
|
boolean |
QueryCache.put(QueryKey key,
Type[] returnTypes,
List result,
boolean isNaturalKeyLookup,
SessionImplementor session)
Put a result into the query cache.
|
Constructor and Description |
---|
NaturalIdCacheKey(Object[] naturalIdValues,
EntityPersister persister,
SessionImplementor session)
Construct a new key for a caching natural identifier resolutions into the second level cache.
|
Constructor and Description |
---|
StandardCacheEntryImpl(Object[] state,
EntityPersister persister,
boolean unfetched,
Object version,
SessionImplementor session,
Object owner)
Constructs a StandardCacheEntryImpl
|
Modifier and Type | Method and Description |
---|---|
SessionImplementor |
AbstractPersistentCollection.getSession()
Get the session currently associated with this collection.
|
Modifier and Type | Method and Description |
---|---|
protected static Collection |
AbstractPersistentCollection.getOrphans(Collection oldElements,
Collection currentElements,
String entityName,
SessionImplementor session)
Given a collection of entity instances that used to
belong to the collection, and a collection of instances
that currently belong, return a collection of orphans
|
static void |
AbstractPersistentCollection.identityRemove(Collection list,
Object entityInstance,
String entityName,
SessionImplementor session)
Removes entity entries that have an equal identifier with the incoming entity instance
|
boolean |
AbstractPersistentCollection.setCurrentSession(SessionImplementor session) |
boolean |
AbstractPersistentCollection.unsetSession(SessionImplementor currentSession) |
Constructor and Description |
---|
AbstractPersistentCollection(SessionImplementor session) |
PersistentArrayHolder(SessionImplementor session,
CollectionPersister persister)
Constructs a PersistentCollection instance for holding an array.
|
PersistentArrayHolder(SessionImplementor session,
Object array)
Constructs a PersistentCollection instance for holding an array.
|
PersistentBag(SessionImplementor session)
Constructs a PersistentBag
|
PersistentBag(SessionImplementor session,
Collection coll)
Constructs a PersistentBag
|
PersistentElementHolder(SessionImplementor session,
CollectionPersister persister,
Serializable key)
Deprecated.
Constructs a PersistentElementHolder
|
PersistentElementHolder(SessionImplementor session,
org.dom4j.Element element)
Deprecated.
Constructs a PersistentElementHolder
|
PersistentIdentifierBag(SessionImplementor session)
Constructs a PersistentIdentifierBag.
|
PersistentIdentifierBag(SessionImplementor session,
Collection coll)
Constructs a PersistentIdentifierBag.
|
PersistentIndexedElementHolder(SessionImplementor session,
CollectionPersister persister,
Serializable key)
Deprecated.
Constructs a PersistentIndexedElementHolder.
|
PersistentIndexedElementHolder(SessionImplementor session,
org.dom4j.Element element)
Deprecated.
Constructs a PersistentIndexedElementHolder.
|
PersistentList(SessionImplementor session)
Constructs a PersistentList.
|
PersistentList(SessionImplementor session,
List list)
Constructs a PersistentList.
|
PersistentListElementHolder(SessionImplementor session,
CollectionPersister persister,
Serializable key)
Deprecated.
Constructs a PersistentListElementHolder.
|
PersistentListElementHolder(SessionImplementor session,
org.dom4j.Element element)
Deprecated.
Constructs a PersistentListElementHolder.
|
PersistentMap(SessionImplementor session)
Instantiates a lazy map (the underlying map is un-initialized).
|
PersistentMap(SessionImplementor session,
Map map)
Instantiates a non-lazy map (the underlying map is constructed
from the incoming map reference).
|
PersistentMapElementHolder(SessionImplementor session,
CollectionPersister persister,
Serializable key)
Deprecated.
Constructs a PersistentMapElementHolder.
|
PersistentMapElementHolder(SessionImplementor session,
org.dom4j.Element element)
Deprecated.
Constructs a PersistentMapElementHolder.
|
PersistentSet(SessionImplementor session)
Constructor matching super.
|
PersistentSet(SessionImplementor session,
Set set)
Instantiates a non-lazy set (the underlying set is constructed
from the incoming set reference).
|
PersistentSortedMap(SessionImplementor session)
Constructs a PersistentSortedMap.
|
PersistentSortedMap(SessionImplementor session,
SortedMap map)
Constructs a PersistentSortedMap.
|
PersistentSortedSet(SessionImplementor session)
Constructs a PersistentSortedSet
|
PersistentSortedSet(SessionImplementor session,
SortedSet set)
Constructs a PersistentSortedSet
|
Modifier and Type | Method and Description |
---|---|
boolean |
PersistentCollection.setCurrentSession(SessionImplementor session)
Associate the collection with the given session.
|
boolean |
PersistentCollection.unsetSession(SessionImplementor currentSession)
Disassociate this collection from the given session.
|
Modifier and Type | Method and Description |
---|---|
Blob |
LobMergeStrategy.mergeBlob(Blob original,
Blob target,
SessionImplementor session)
Perform merge on
Blob values. |
Clob |
LobMergeStrategy.mergeClob(Clob original,
Clob target,
SessionImplementor session)
Perform merge on
Clob values. |
NClob |
LobMergeStrategy.mergeNClob(NClob original,
NClob target,
SessionImplementor session)
Perform merge on
NClob values. |
Modifier and Type | Method and Description |
---|---|
void |
LockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session)
Acquire an appropriate type of lock on the underlying data that will
endure until the end of the current transaction.
|
void |
PessimisticWriteUpdateLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session) |
void |
OptimisticForceIncrementLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session) |
void |
SelectLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session) |
void |
PessimisticWriteSelectLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session) |
void |
PessimisticForceIncrementLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session) |
void |
PessimisticReadSelectLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session) |
void |
UpdateLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session) |
void |
OptimisticLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session) |
void |
PessimisticReadUpdateLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
SessionImplementor |
StatefulPersistenceContext.getSession() |
protected SessionImplementor |
NaturalIdXrefDelegate.session()
Access to the session (via the PersistenceContext) to which this delegate ultimately belongs.
|
Modifier and Type | Method and Description |
---|---|
static void |
TwoPhaseLoad.addUninitializedCachedEntity(EntityKey key,
Object object,
EntityPersister persister,
LockMode lockMode,
boolean lazyPropertiesAreUnFetched,
Object version,
SessionImplementor session)
Same as
TwoPhaseLoad.addUninitializedEntity(org.hibernate.engine.spi.EntityKey, java.lang.Object, org.hibernate.persister.entity.EntityPersister, org.hibernate.LockMode, boolean, org.hibernate.engine.spi.SessionImplementor) , but here for an entity from the second level cache |
static void |
TwoPhaseLoad.addUninitializedEntity(EntityKey key,
Object object,
EntityPersister persister,
LockMode lockMode,
boolean lazyPropertiesAreUnFetched,
SessionImplementor session)
Add an uninitialized instance of an entity class, as a placeholder to ensure object
identity.
|
static int |
ParameterBinder.bindQueryParameters(PreparedStatement st,
QueryParameters queryParameters,
int start,
ParameterBinder.NamedParameterSource source,
SessionImplementor session)
Perform parameter binding
|
static StatefulPersistenceContext |
StatefulPersistenceContext.deserialize(ObjectInputStream ois,
SessionImplementor session)
Used by the owning session to explicitly control deserialization of the persistence context.
|
static NonNullableTransientDependencies |
ForeignKeys.findNonNullableTransientEntities(String entityName,
Object entity,
Object[] values,
boolean isEarlyInsert,
SessionImplementor session)
Find all non-nullable references to entities that have not yet
been inserted in the database, where the foreign key
is a reference to an unsaved transient entity.
|
static Serializable |
CacheHelper.fromSharedCache(SessionImplementor session,
CacheKey cacheKey,
RegionAccessStrategy cacheAccessStrategy) |
static Serializable |
CacheHelper.fromSharedCache(SessionImplementor session,
NaturalIdCacheKey cacheKey,
NaturalIdRegionAccessStrategy cacheAccessStrategy) |
static Serializable |
ForeignKeys.getEntityIdentifierIfNotUnsaved(String entityName,
Object object,
SessionImplementor session)
Return the identifier of the persistent or transient object, or throw
an exception if the instance is "unsaved"
Used by OneToOneType and ManyToOneType to determine what id value should
be used for an object that may or may not be associated with the session.
|
static Object |
Versioning.increment(Object version,
VersionType versionType,
SessionImplementor session)
Generate the next increment in the optimistic locking value according
the
VersionType contract for the version property. |
static void |
TwoPhaseLoad.initializeEntity(Object entity,
boolean readOnly,
SessionImplementor session,
PreLoadEvent preLoadEvent)
Perform the second step of 2-phase load.
|
static boolean |
ForeignKeys.isNotTransient(String entityName,
Object entity,
Boolean assumed,
SessionImplementor session)
Is this instance persistent or detached?
If assumed is non-null, don't hit the database to make the determination, instead assume that
value; the client code must be prepared to "recover" in the case that this assumed result is incorrect.
|
static boolean |
ForeignKeys.isTransient(String entityName,
Object entity,
Boolean assumed,
SessionImplementor session)
Is this instance, which we know is not persistent, actually transient?
If assumed is non-null, don't hit the database to make the determination, instead assume that
value; the client code must be prepared to "recover" in the case that this assumed result is incorrect.
|
static void |
TwoPhaseLoad.postHydrate(EntityPersister persister,
Serializable id,
Object[] values,
Object rowId,
Object object,
LockMode lockMode,
boolean lazyPropertiesAreUnFetched,
SessionImplementor session)
Register the "hydrated" state of an entity instance, after the first step of 2-phase loading.
|
static void |
TwoPhaseLoad.postLoad(Object entity,
SessionImplementor session,
PostLoadEvent postLoadEvent)
PostLoad cannot occur during initializeEntity, as that call occurs *before*
the Set collections are added to the persistence context by Loader.
|
static void |
Collections.processReachableCollection(PersistentCollection collection,
CollectionType type,
Object entity,
SessionImplementor session)
Initialize the role of the collection.
|
static void |
Collections.processUnreachableCollection(PersistentCollection coll,
SessionImplementor session)
record the fact that this collection was dereferenced
|
static boolean |
Versioning.seedVersion(Object[] fields,
int versionProperty,
VersionType versionType,
SessionImplementor session)
Create an initial optimistic locking value according the
VersionType
contract for the version property if required and inject it into
the snapshot state. |
String |
NonNullableTransientDependencies.toLoggableString(SessionImplementor session)
Build a loggable representation of the paths tracked here at the moment.
|
Constructor and Description |
---|
ForeignKeys.Nullifier(Object self,
boolean isDelete,
boolean isEarlyInsert,
SessionImplementor session)
Constructs a Nullifier
|
Nullability(SessionImplementor session)
Constructs a Nullability
|
StatefulPersistenceContext(SessionImplementor session)
Constructs a PersistentContext, bound to the given session.
|
Modifier and Type | Method and Description |
---|---|
protected void |
NativeSQLQueryPlan.coordinateSharedCacheCleanup(SessionImplementor session) |
int |
HQLQueryPlan.performExecuteUpdate(QueryParameters queryParameters,
SessionImplementor session)
Coordinates the efforts to perform an execution across all the included query translators.
|
int |
NativeSQLQueryPlan.performExecuteUpdate(QueryParameters queryParameters,
SessionImplementor session)
Performs the execute query
|
List |
HQLQueryPlan.performList(QueryParameters queryParameters,
SessionImplementor session)
Coordinates the efforts to perform a list across all the included query translators.
|
ScrollableResults |
HQLQueryPlan.performScroll(QueryParameters queryParameters,
SessionImplementor session)
Coordinates the efforts to perform a scroll across all the included query translators.
|
Modifier and Type | Class and Description |
---|---|
class |
SessionDelegatorBaseImpl
This class is meant to be extended.
|
Modifier and Type | Field and Description |
---|---|
protected SessionImplementor |
SessionDelegatorBaseImpl.sessionImplementor |
Modifier and Type | Method and Description |
---|---|
SessionImplementor |
PersistenceContext.getSession()
Get the session to which this persistence context is bound.
|
Modifier and Type | Method and Description |
---|---|
void |
ExecutableList.afterDeserialize(SessionImplementor session)
Allow the Executables to re-associate themselves with the Session after deserialization.
|
static CollectionEntry |
CollectionEntry.deserialize(ObjectInputStream ois,
SessionImplementor session)
Custom deserialization routine used during deserialization of a
Session/PersistenceContext for increased performance.
|
static EntityUniqueKey |
EntityUniqueKey.deserialize(ObjectInputStream ois,
SessionImplementor session)
Custom deserialization routine used during deserialization of a
Session/PersistenceContext for increased performance.
|
static CollectionKey |
CollectionKey.deserialize(ObjectInputStream ois,
SessionImplementor session)
Custom deserialization routine used during deserialization of a
Session/PersistenceContext for increased performance.
|
static ActionQueue |
ActionQueue.deserialize(ObjectInputStream ois,
SessionImplementor session)
Used by the owning session to explicitly control deserialization of the action queue.
|
static Iterator |
CascadingActions.getLoadedElementsIterator(SessionImplementor session,
CollectionType collectionType,
Object collection)
Iterate just the elements of the collection that are already there.
|
boolean |
EntityEntry.isNullifiable(boolean earlyInsert,
SessionImplementor session) |
boolean |
QueryParameters.isReadOnly(SessionImplementor session)
Should entities and proxies loaded by the Query be put in read-only mode? If the
read-only/modifiable setting was not initialized (i.e., QueryParameters#isReadOnlyInitialized() == false),
then the default read-only/modifiable setting for the persistence context is returned instead.
|
void |
QueryParameters.processFilters(String sql,
SessionImplementor session) |
Constructor and Description |
---|
ActionQueue(SessionImplementor session)
Constructs an action queue bound to the given session.
|
SessionDelegatorBaseImpl(SessionImplementor sessionImplementor,
Session session) |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseEnversEventListener.checkIfTransactionInProgress(SessionImplementor session) |
protected void |
BaseEnversEventListener.generateBidirectionalCollectionChangeWorkUnits(AuditProcess auditProcess,
EntityPersister entityPersister,
String entityName,
Object[] newState,
Object[] oldState,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
RevisionType |
RevisionTypeType.nullSafeGet(ResultSet resultSet,
String[] names,
SessionImplementor session,
Object owner) |
void |
RevisionTypeType.nullSafeSet(PreparedStatement preparedStatement,
Object value,
int index,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
boolean |
SubclassPropertyMapper.map(SessionImplementor session,
Map<String,Object> data,
String[] propertyNames,
Object[] newState,
Object[] oldState) |
boolean |
ExtendedPropertyMapper.map(SessionImplementor session,
Map<String,Object> data,
String[] propertyNames,
Object[] newState,
Object[] oldState) |
boolean |
MultiPropertyMapper.map(SessionImplementor session,
Map<String,Object> data,
String[] propertyNames,
Object[] newState,
Object[] oldState) |
boolean |
MultiDynamicComponentMapper.map(SessionImplementor session,
Map<String,Object> data,
String[] propertyNames,
Object[] newState,
Object[] oldState) |
List<PersistentCollectionChangeData> |
SubclassPropertyMapper.mapCollectionChanges(SessionImplementor session,
String referencingPropertyName,
PersistentCollection newColl,
Serializable oldColl,
Serializable id) |
List<PersistentCollectionChangeData> |
MultiPropertyMapper.mapCollectionChanges(SessionImplementor session,
String referencingPropertyName,
PersistentCollection newColl,
Serializable oldColl,
Serializable id) |
List<PersistentCollectionChangeData> |
ComponentPropertyMapper.mapCollectionChanges(SessionImplementor session,
String referencingPropertyName,
PersistentCollection newColl,
Serializable oldColl,
Serializable id) |
List<PersistentCollectionChangeData> |
SinglePropertyMapper.mapCollectionChanges(SessionImplementor sessionImplementor,
String referencingPropertyName,
PersistentCollection newColl,
Serializable oldColl,
Serializable id) |
List<PersistentCollectionChangeData> |
PropertyMapper.mapCollectionChanges(SessionImplementor session,
String referencingPropertyName,
PersistentCollection newColl,
Serializable oldColl,
Serializable id)
Maps collection changes.
|
void |
SubclassPropertyMapper.mapModifiedFlagsToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
void |
MultiPropertyMapper.mapModifiedFlagsToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
void |
ComponentPropertyMapper.mapModifiedFlagsToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
void |
MultiDynamicComponentMapper.mapModifiedFlagsToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
void |
SinglePropertyMapper.mapModifiedFlagsToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
void |
PropertyMapper.mapModifiedFlagsToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
boolean |
SubclassPropertyMapper.mapToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
boolean |
MultiPropertyMapper.mapToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
boolean |
ComponentPropertyMapper.mapToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
boolean |
MultiDynamicComponentMapper.mapToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
boolean |
SinglePropertyMapper.mapToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
boolean |
PropertyMapper.mapToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj)
Maps properties to the given map, basing on differences between properties of new and old objects.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
ToOneIdMapper.checkModified(SessionImplementor session,
Object newObj,
Object oldObj) |
List<PersistentCollectionChangeData> |
AbstractCollectionMapper.mapCollectionChanges(SessionImplementor session,
String referencingPropertyName,
PersistentCollection newColl,
Serializable oldColl,
Serializable id) |
List<PersistentCollectionChangeData> |
AbstractToOneMapper.mapCollectionChanges(SessionImplementor session,
String referencingPropertyName,
PersistentCollection newColl,
Serializable oldColl,
Serializable id) |
void |
AbstractCollectionMapper.mapModifiedFlagsToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
void |
ToOneIdMapper.mapModifiedFlagsToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
void |
AbstractOneToOneMapper.mapModifiedFlagsToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
boolean |
AbstractCollectionMapper.mapToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
boolean |
ToOneIdMapper.mapToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
boolean |
AbstractToOneMapper.mapToMapFromEntity(SessionImplementor session,
Map<String,Object> data,
Object newObj,
Object oldObj) |
protected abstract void |
AbstractCollectionMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object changed)
Maps the changed collection element to the given map.
|
protected void |
MapCollectionMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object changed) |
protected void |
ListCollectionMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object changed) |
protected void |
BasicCollectionMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object changed) |
Modifier and Type | Method and Description |
---|---|
void |
MiddleMapKeyPropertyComponentMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object obj) |
void |
MiddleRelatedComponentMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object obj) |
void |
MiddleComponentMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object obj)
Maps from an object to the object's map representation (for an entity - only its id).
|
void |
MiddleDummyComponentMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object obj) |
void |
MiddleEmbeddableComponentMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object obj) |
void |
MiddleMapKeyIdComponentMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object obj) |
void |
MiddleStraightComponentMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object obj) |
void |
MiddleSimpleComponentMapper.mapToMapFromObject(SessionImplementor session,
Map<String,Object> idData,
Map<String,Object> data,
Object obj) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDelegateSessionImplementor |
class |
ToOneDelegateSessionImplementor |
Constructor and Description |
---|
AbstractDelegateSessionImplementor(SessionImplementor delegate) |
Modifier and Type | Method and Description |
---|---|
SessionImplementor |
AuditReaderImpl.getSessionImplementor() |
SessionImplementor |
AuditReaderImplementor.getSessionImplementor() |
Constructor and Description |
---|
AuditReaderImpl(AuditConfiguration verCfg,
Session session,
SessionImplementor sessionImplementor) |
Modifier and Type | Method and Description |
---|---|
void |
AuditProcess.doBeforeTransactionCompletion(SessionImplementor session) |
Constructor and Description |
---|
AuditProcess(RevisionInfoGenerator revisionInfoGenerator,
SessionImplementor session) |
EntityChangeNotifier(RevisionInfoGenerator revisionInfoGenerator,
SessionImplementor sessionImplementor) |
Modifier and Type | Field and Description |
---|---|
protected SessionImplementor |
AbstractAuditWorkUnit.sessionImplementor |
Modifier and Type | Method and Description |
---|---|
static boolean |
EntityTools.entitiesEqual(SessionImplementor session,
String entityName,
Object obj1,
Object obj2) |
static Class |
EntityTools.getEntityClass(SessionImplementor sessionImplementor,
Session session,
String entityName) |
static Object |
EntityTools.getIdentifier(SessionImplementor session,
String entityName,
Object obj) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultFlushEntityEventListener.checkId(Object object,
EntityPersister persister,
Serializable id,
SessionImplementor session)
make sure user didn't mangle the id
|
protected void |
DefaultMergeEventListener.copyValues(EntityPersister persister,
Object entity,
Object target,
SessionImplementor source,
Map copyCache) |
protected void |
DefaultMergeEventListener.copyValues(EntityPersister persister,
Object entity,
Object target,
SessionImplementor source,
Map copyCache,
ForeignKeyDirection foreignKeyDirection) |
protected AbstractSaveEventListener.EntityState |
AbstractSaveEventListener.getEntityState(Object entity,
String entityName,
EntityEntry entry,
SessionImplementor source)
Determine whether the entity is persistent, detached, or transient
|
protected Serializable |
DefaultSaveOrUpdateEventListener.getUpdateId(Object entity,
EntityPersister persister,
Serializable requestedId,
SessionImplementor session)
Determine the id to use for updating.
|
protected Serializable |
DefaultUpdateEventListener.getUpdateId(Object entity,
EntityPersister persister,
Serializable requestedId,
SessionImplementor session)
If the user specified an id, assign it to the instance and use that,
otherwise use the id already assigned to the instance
|
protected boolean |
DefaultFlushEntityEventListener.invokeInterceptor(SessionImplementor session,
Object entity,
EntityEntry entry,
Object[] values,
EntityPersister persister) |
protected Object |
DefaultLoadEventListener.lockAndLoad(LoadEvent event,
EntityPersister persister,
EntityKey keyToLoad,
LoadEventListener.LoadType options,
SessionImplementor source)
If the class to be loaded has been configured with a cache, then lock
given id in that cache and then perform the load.
|
protected void |
AbstractFlushingEventListener.postFlush(SessionImplementor session)
1.
|
protected void |
AbstractFlushingEventListener.postPostFlush(SessionImplementor session) |
protected boolean |
DefaultSaveOrUpdateEventListener.reassociateIfUninitializedProxy(Object object,
SessionImplementor source) |
protected boolean |
DefaultSaveEventListener.reassociateIfUninitializedProxy(Object object,
SessionImplementor source) |
protected boolean |
DefaultReplicateEventListener.substituteValuesIfNecessary(Object entity,
Serializable id,
Object[] values,
EntityPersister persister,
SessionImplementor source) |
protected boolean |
AbstractSaveEventListener.substituteValuesIfNecessary(Object entity,
Serializable id,
Object[] values,
EntityPersister persister,
SessionImplementor source)
Perform any property value substitution that is necessary
(interceptor callback, version initialization...)
|
Modifier and Type | Interface and Description |
---|---|
interface |
EventSource |
Modifier and Type | Method and Description |
---|---|
int |
QueryTranslatorImpl.executeUpdate(QueryParameters queryParameters,
SessionImplementor session) |
List |
QueryTranslatorImpl.list(SessionImplementor session,
QueryParameters queryParameters) |
ScrollableResults |
QueryTranslatorImpl.scroll(QueryParameters queryParameters,
SessionImplementor session)
Return the query results, as an instance of ScrollableResults
|
Modifier and Type | Method and Description |
---|---|
protected int |
BasicExecutor.doExecute(QueryParameters parameters,
SessionImplementor session,
String sql,
List parameterSpecifications) |
int |
MultiTableUpdateExecutor.execute(QueryParameters parameters,
SessionImplementor session) |
int |
StatementExecutor.execute(QueryParameters parameters,
SessionImplementor session)
Execute the sql managed by this executor using the given parameters.
|
int |
MultiTableDeleteExecutor.execute(QueryParameters parameters,
SessionImplementor session) |
int |
BasicExecutor.execute(QueryParameters parameters,
SessionImplementor session) |
int |
DeleteExecutor.execute(QueryParameters parameters,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
int |
QueryTranslatorImpl.executeUpdate(QueryParameters queryParameters,
SessionImplementor session) |
protected Object |
QueryTranslatorImpl.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SessionImplementor session) |
protected Object[] |
QueryTranslatorImpl.getResultRow(Object[] row,
ResultSet rs,
SessionImplementor session) |
List |
QueryTranslatorImpl.list(SessionImplementor session,
QueryParameters queryParameters) |
ScrollableResults |
QueryTranslatorImpl.scroll(QueryParameters queryParameters,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
protected void |
TemporaryTableBulkIdStrategy.createTempTable(Queryable persister,
SessionImplementor session) |
int |
MultiTableBulkIdStrategy.UpdateHandler.execute(SessionImplementor session,
QueryParameters queryParameters) |
int |
MultiTableBulkIdStrategy.DeleteHandler.execute(SessionImplementor session,
QueryParameters queryParameters) |
int |
TableBasedUpdateHandlerImpl.execute(SessionImplementor session,
QueryParameters queryParameters) |
int |
TableBasedDeleteHandlerImpl.execute(SessionImplementor session,
QueryParameters queryParameters) |
int |
QueryTranslator.executeUpdate(QueryParameters queryParameters,
SessionImplementor session)
Perform a bulk update/delete operation given the underlying query definition.
|
protected void |
TableBasedDeleteHandlerImpl.handleAddedParametersOnDelete(PreparedStatement ps,
SessionImplementor session) |
protected void |
TableBasedUpdateHandlerImpl.handleAddedParametersOnUpdate(PreparedStatement ps,
SessionImplementor session,
int position) |
protected int |
TableBasedUpdateHandlerImpl.handlePrependedParametersOnIdSelection(PreparedStatement ps,
SessionImplementor session,
int pos) |
protected int |
TableBasedDeleteHandlerImpl.handlePrependedParametersOnIdSelection(PreparedStatement ps,
SessionImplementor session,
int pos) |
List |
QueryTranslator.list(SessionImplementor session,
QueryParameters queryParameters)
Perform a list operation given the underlying query definition.
|
protected void |
AbstractTableBasedBulkIdHandler.prepareForUse(Queryable persister,
SessionImplementor session) |
protected void |
AbstractTableBasedBulkIdHandler.releaseFromUse(Queryable persister,
SessionImplementor session) |
protected void |
TemporaryTableBulkIdStrategy.releaseTempTable(Queryable persister,
SessionImplementor session) |
ScrollableResults |
QueryTranslator.scroll(QueryParameters queryParameters,
SessionImplementor session)
Perform a scroll operation given the underlying query definition.
|
protected boolean |
TemporaryTableBulkIdStrategy.shouldIsolateTemporaryTableDDL(SessionImplementor session) |
protected boolean |
TemporaryTableBulkIdStrategy.shouldTransactIsolatedTemporaryTableDDL(SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
protected void |
SelectGenerator.SelectGeneratorDelegate.bindParameters(SessionImplementor session,
PreparedStatement ps,
Object entity) |
Serializable |
IdentityGenerator.InsertSelectDelegate.determineGeneratedIdentifier(SessionImplementor session,
Object entity) |
void |
CompositeNestedGeneratedValueGenerator.GenerationPlan.execute(SessionImplementor session,
Object incomingObject,
Object injectionContext)
Execute the value generation.
|
protected Serializable |
SequenceIdentityGenerator.Delegate.executeAndExtract(PreparedStatement insert,
SessionImplementor session) |
Serializable |
IdentityGenerator.GetGeneratedKeysDelegate.executeAndExtract(PreparedStatement insert,
SessionImplementor session) |
Serializable |
IdentityGenerator.InsertSelectDelegate.executeAndExtract(PreparedStatement insert,
SessionImplementor session) |
Serializable |
TableHiLoGenerator.generate(SessionImplementor session,
Object obj)
Deprecated.
|
Serializable |
CompositeNestedGeneratedValueGenerator.generate(SessionImplementor session,
Object object) |
Serializable |
SequenceGenerator.generate(SessionImplementor session,
Object obj) |
Serializable |
Assigned.generate(SessionImplementor session,
Object obj) |
Serializable |
ForeignGenerator.generate(SessionImplementor sessionImplementor,
Object object) |
Serializable |
SequenceIdentityGenerator.generate(SessionImplementor s,
Object obj) |
Serializable |
IncrementGenerator.generate(SessionImplementor session,
Object object) |
Serializable |
UUIDGenerator.generate(SessionImplementor session,
Object object) |
Serializable |
MultipleHiLoPerTableGenerator.generate(SessionImplementor session,
Object obj) |
Serializable |
TableGenerator.generate(SessionImplementor session,
Object object)
Deprecated.
|
Serializable |
AbstractPostInsertGenerator.generate(SessionImplementor s,
Object obj) |
Serializable |
IdentifierGenerator.generate(SessionImplementor session,
Object object)
Generate a new identifier.
|
Serializable |
GUIDGenerator.generate(SessionImplementor session,
Object obj) |
Serializable |
SequenceHiLoGenerator.generate(SessionImplementor session,
Object obj) |
Serializable |
UUIDHexGenerator.generate(SessionImplementor session,
Object obj) |
protected IntegralDataTypeHolder |
SequenceGenerator.generateHolder(SessionImplementor session) |
protected IntegralDataTypeHolder |
TableGenerator.generateHolder(SessionImplementor session)
Deprecated.
|
UUID |
UUIDGenerationStrategy.generateUUID(SessionImplementor session)
Generate the UUID.
|
protected Serializable |
SelectGenerator.SelectGeneratorDelegate.getResult(SessionImplementor session,
ResultSet rs,
Object entity) |
protected Serializable |
IdentityGenerator.BasicDelegate.getResult(SessionImplementor session,
ResultSet rs,
Object object) |
Serializable |
CompositeNestedGeneratedValueGenerator.GenerationContextLocator.locateGenerationContext(SessionImplementor session,
Object incomingObject)
Given the incoming object, determine the context for injecting back its generated
id sub-values.
|
protected PreparedStatement |
SequenceIdentityGenerator.Delegate.prepare(String insertSQL,
SessionImplementor session) |
protected PreparedStatement |
IdentityGenerator.GetGeneratedKeysDelegate.prepare(String insertSQL,
SessionImplementor session) |
protected PreparedStatement |
IdentityGenerator.InsertSelectDelegate.prepare(String insertSQL,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
AccessCallback |
TableStructure.buildCallback(SessionImplementor session) |
AccessCallback |
SequenceStructure.buildCallback(SessionImplementor session) |
AccessCallback |
DatabaseStructure.buildCallback(SessionImplementor session)
A callback to be able to get the next value from the underlying
structure as needed.
|
Serializable |
SequenceStyleGenerator.generate(SessionImplementor session,
Object object) |
Serializable |
TableGenerator.generate(SessionImplementor session,
Object obj) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSelectingDelegate.bindParameters(SessionImplementor session,
PreparedStatement ps,
Object entity)
Bind any required parameter values into the SQL command
AbstractSelectingDelegate.getSelectSQL() . |
protected abstract Serializable |
AbstractReturningDelegate.executeAndExtract(PreparedStatement insert,
SessionImplementor session) |
protected abstract Serializable |
AbstractSelectingDelegate.getResult(SessionImplementor session,
ResultSet rs,
Object entity)
Extract the generated key value from the given result set.
|
Serializable |
AbstractSelectingDelegate.performInsert(String insertSQL,
SessionImplementor session,
Binder binder) |
Serializable |
InsertGeneratedIdentifierDelegate.performInsert(String insertSQL,
SessionImplementor session,
Binder binder)
Perform the indicated insert SQL statement and determine the identifier value
generated.
|
Serializable |
AbstractReturningDelegate.performInsert(String insertSQL,
SessionImplementor session,
Binder binder) |
protected abstract PreparedStatement |
AbstractReturningDelegate.prepare(String insertSQL,
SessionImplementor session) |
protected void |
AbstractReturningDelegate.releaseStatement(PreparedStatement insert,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
UUID |
StandardRandomStrategy.generateUUID(SessionImplementor session)
Delegates to
UUID.randomUUID() |
UUID |
CustomVersionOneStrategy.generateUUID(SessionImplementor session) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSessionImpl
Functionality common to stateless and stateful sessions
|
class |
SessionImpl
Concrete implementation of a Session.
|
class |
StatelessSessionImpl |
Modifier and Type | Field and Description |
---|---|
protected SessionImplementor |
AbstractQueryImpl.session |
Modifier and Type | Method and Description |
---|---|
protected SessionImplementor |
AbstractScrollableResults.getSession() |
SessionImplementor |
CriteriaImpl.getSession() |
protected SessionImplementor |
AbstractBasicQueryContractImpl.session() |
Modifier and Type | Method and Description |
---|---|
void |
CriteriaImpl.setSession(SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
JpaFlushEntityEventListener.invokeInterceptor(SessionImplementor session,
Object entity,
EntityEntry entry,
Object[] values,
EntityPersister persister) |
Modifier and Type | Method and Description |
---|---|
protected void |
Loader.applyPostLoadLocks(Object[] row,
LockMode[] lockModesArray,
SessionImplementor session) |
protected int |
Loader.bindNamedParameters(PreparedStatement statement,
Map<String,TypedValue> namedParams,
int startIndex,
SessionImplementor session)
Bind named parameters to the JDBC prepared statement.
|
protected int |
Loader.bindParameterValues(PreparedStatement statement,
QueryParameters queryParameters,
int startIndex,
SessionImplementor session)
Bind all parameter values into the prepared statement in preparation
for execution.
|
protected int |
Loader.bindPositionalParameters(PreparedStatement statement,
QueryParameters queryParameters,
int startIndex,
SessionImplementor session)
Bind positional parameter values to the JDBC prepared statement.
|
protected List |
Loader.doList(SessionImplementor session,
QueryParameters queryParameters)
Actually execute a query, ignoring the query cache
|
List |
Loader.doQueryAndInitializeNonLazyCollections(SessionImplementor session,
QueryParameters queryParameters,
boolean returnProxies)
Execute an SQL query and attempt to instantiate instances of the class mapped by the given
persister from each row of the ResultSet.
|
List |
Loader.doQueryAndInitializeNonLazyCollections(SessionImplementor session,
QueryParameters queryParameters,
boolean returnProxies,
ResultTransformer forcedResultTransformer) |
protected Loader.SqlStatementWrapper |
Loader.executeQueryStatement(QueryParameters queryParameters,
boolean scroll,
List<AfterLoadAction> afterLoadActions,
SessionImplementor session)
Process query string by applying filters, LIMIT clause, locks and comments if necessary.
|
protected Loader.SqlStatementWrapper |
Loader.executeQueryStatement(String sqlStatement,
QueryParameters queryParameters,
boolean scroll,
List<AfterLoadAction> afterLoadActions,
SessionImplementor session) |
protected void |
Loader.extractKeysFromResultSet(Loadable[] persisters,
QueryParameters queryParameters,
ResultSet resultSet,
SessionImplementor session,
EntityKey[] keys,
LockMode[] lockModes,
List hydratedObjects) |
protected Object |
Loader.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SessionImplementor session)
Get the actual object that is returned in the user-visible result list.
|
protected Object[] |
Loader.getResultRow(Object[] row,
ResultSet rs,
SessionImplementor session) |
protected ResultSet |
Loader.getResultSet(PreparedStatement st,
RowSelection selection,
LimitHandler limitHandler,
boolean autodiscovertypes,
SessionImplementor session)
Execute given PreparedStatement, advance to the first result and return SQL ResultSet.
|
protected List |
Loader.list(SessionImplementor session,
QueryParameters queryParameters,
Set<Serializable> querySpaces,
Type[] resultTypes)
Return the query results, using the query cache, called
by subclasses that implement cacheable queries
|
void |
Loader.loadCollection(SessionImplementor session,
Serializable id,
Type type)
Called by subclasses that initialize collections
|
void |
Loader.loadCollectionBatch(SessionImplementor session,
Serializable[] ids,
Type type)
Called by wrappers that batch initialize collections
|
protected void |
Loader.loadCollectionSubselect(SessionImplementor session,
Serializable[] ids,
Object[] parameterValues,
Type[] parameterTypes,
Map<String,TypedValue> namedParameters,
Type type)
Called by subclasses that batch initialize collections
|
protected List |
Loader.loadEntity(SessionImplementor session,
Object key,
Object index,
Type keyType,
Type indexType,
EntityPersister persister)
Called by subclasses that load entities
|
protected List |
Loader.loadEntity(SessionImplementor session,
Object id,
Type identifierType,
Object optionalObject,
String optionalEntityName,
Serializable optionalIdentifier,
EntityPersister persister,
LockOptions lockOptions)
Called by subclasses that load entities
|
List |
Loader.loadEntityBatch(SessionImplementor session,
Serializable[] ids,
Type idType,
Object optionalObject,
String optionalEntityName,
Serializable optionalId,
EntityPersister persister,
LockOptions lockOptions)
Called by wrappers that batch load entities
|
Object |
Loader.loadSequentialRowsForward(ResultSet resultSet,
SessionImplementor session,
QueryParameters queryParameters,
boolean returnProxies)
Loads a single logical row from the result set moving forward.
|
Object |
Loader.loadSequentialRowsReverse(ResultSet resultSet,
SessionImplementor session,
QueryParameters queryParameters,
boolean returnProxies,
boolean isLogicallyAfterLast)
Loads a single logical row from the result set moving forward.
|
Object |
Loader.loadSingleRow(ResultSet resultSet,
SessionImplementor session,
QueryParameters queryParameters,
boolean returnProxies)
Loads a single row from the result set.
|
protected PreparedStatement |
Loader.prepareQueryStatement(String sql,
QueryParameters queryParameters,
LimitHandler limitHandler,
boolean scroll,
SessionImplementor session)
Obtain a PreparedStatement with all parameters pre-bound.
|
protected List |
Loader.processResultSet(ResultSet rs,
QueryParameters queryParameters,
SessionImplementor session,
boolean returnProxies,
ResultTransformer forcedResultTransformer,
int maxRows,
List<AfterLoadAction> afterLoadActions) |
protected void |
Loader.putResultInQueryCache(SessionImplementor session,
QueryParameters queryParameters,
Type[] resultTypes,
QueryCache queryCache,
QueryKey key,
List result) |
protected ScrollableResults |
Loader.scroll(QueryParameters queryParameters,
Type[] returnTypes,
HolderInstantiator holderInstantiator,
SessionImplementor session)
Return the query results, as an instance of ScrollableResults
|
Modifier and Type | Method and Description |
---|---|
void |
SubselectOneToManyLoader.initialize(Serializable id,
SessionImplementor session) |
void |
SubselectCollectionLoader.initialize(Serializable id,
SessionImplementor session) |
void |
CollectionLoader.initialize(Serializable id,
SessionImplementor session) |
void |
CollectionInitializer.initialize(Serializable id,
SessionImplementor session)
Initialize the given collection
|
void |
DynamicBatchingCollectionInitializerBuilder.DynamicBatchingCollectionInitializer.initialize(Serializable id,
SessionImplementor session) |
void |
LegacyBatchingCollectionInitializerBuilder.LegacyBatchingCollectionInitializer.initialize(Serializable id,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractLoadPlanBasedCollectionInitializer.initialize(Serializable id,
SessionImplementor session) |
void |
LegacyBatchingCollectionInitializerBuilder.LegacyBatchingCollectionInitializer.initialize(Serializable id,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
protected Object |
CriteriaLoader.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SessionImplementor session) |
protected Object[] |
CriteriaLoader.getResultRow(Object[] row,
ResultSet rs,
SessionImplementor session) |
List |
CriteriaLoader.list(SessionImplementor session) |
ScrollableResults |
CriteriaLoader.scroll(SessionImplementor session,
ScrollMode scrollMode) |
Modifier and Type | Method and Description |
---|---|
Object |
ResultRowProcessor.buildResultRow(Object[] data,
ResultSet resultSet,
boolean hasTransformer,
SessionImplementor session)
Build a logical result row.
|
Object[] |
ResultRowProcessor.buildResultRow(Object[] data,
ResultSet resultSet,
SessionImplementor session) |
Object |
ConstructorResultColumnProcessor.extract(Object[] data,
ResultSet resultSet,
SessionImplementor session) |
Object |
NonScalarResultColumnProcessor.extract(Object[] data,
ResultSet resultSet,
SessionImplementor session) |
Object |
ScalarResultColumnProcessor.extract(Object[] data,
ResultSet resultSet,
SessionImplementor session) |
protected Object |
CustomLoader.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SessionImplementor session) |
protected Object[] |
CustomLoader.getResultRow(Object[] row,
ResultSet rs,
SessionImplementor session) |
List |
CustomLoader.list(SessionImplementor session,
QueryParameters queryParameters) |
protected void |
CustomLoader.putResultInQueryCache(SessionImplementor session,
QueryParameters queryParameters,
Type[] resultTypes,
QueryCache queryCache,
QueryKey key,
List result)
CustomLoader.resultTypes can be overridden by CustomLoader.autoDiscoverTypes(ResultSet) ,
*after* CustomLoader.list(SessionImplementor, QueryParameters) has already been called. |
ScrollableResults |
CustomLoader.scroll(QueryParameters queryParameters,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
protected Object |
BatchingEntityLoader.doBatchLoad(Serializable id,
Loader loaderToUse,
SessionImplementor session,
Serializable[] ids,
Object optionalObject,
LockOptions lockOptions) |
protected Object |
BatchingEntityLoader.getObjectFromList(List results,
Serializable id,
SessionImplementor session) |
protected Object |
CollectionElementLoader.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SessionImplementor session) |
protected Object |
AbstractEntityLoader.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SessionImplementor session) |
Object |
BatchingEntityLoader.load(Serializable id,
Object optionalObject,
SessionImplementor session)
Deprecated.
|
Object |
AbstractEntityLoader.load(Serializable id,
Object optionalObject,
SessionImplementor session) |
Object |
UniqueEntityLoader.load(Serializable id,
Object optionalObject,
SessionImplementor session)
Deprecated.
|
Object |
AbstractEntityLoader.load(Serializable id,
Object optionalObject,
SessionImplementor session,
LockOptions lockOptions) |
Object |
LegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader.load(Serializable id,
Object optionalObject,
SessionImplementor session,
LockOptions lockOptions) |
Object |
UniqueEntityLoader.load(Serializable id,
Object optionalObject,
SessionImplementor session,
LockOptions lockOptions)
Load an entity instance by id.
|
Object |
DynamicBatchingEntityLoaderBuilder.DynamicBatchingEntityLoader.load(Serializable id,
Object optionalObject,
SessionImplementor session,
LockOptions lockOptions) |
protected Object |
AbstractEntityLoader.load(SessionImplementor session,
Object id,
Object optionalObject,
Serializable optionalId,
LockOptions lockOptions) |
Object |
EntityLoader.loadByUniqueKey(SessionImplementor session,
Object key) |
Object |
CollectionElementLoader.loadElement(SessionImplementor session,
Object key,
Object index) |
Modifier and Type | Method and Description |
---|---|
protected Object |
BatchingEntityLoader.doBatchLoad(Serializable id,
Loader loaderToUse,
SessionImplementor session,
Serializable[] ids,
Object optionalObject,
LockOptions lockOptions) |
protected Object |
BatchingEntityLoader.getObjectFromList(List results,
Serializable id,
SessionImplementor session) |
Object |
BatchingEntityLoader.load(Serializable id,
Object optionalObject,
SessionImplementor session)
Deprecated.
|
Object |
AbstractLoadPlanBasedEntityLoader.load(Serializable id,
Object optionalObject,
SessionImplementor session)
Deprecated.
|
Object |
LegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader.load(Serializable id,
Object optionalObject,
SessionImplementor session,
LockOptions lockOptions) |
Object |
AbstractLoadPlanBasedEntityLoader.load(Serializable id,
Object optionalObject,
SessionImplementor session,
LockOptions lockOptions) |
List |
AbstractLoadPlanBasedEntityLoader.loadEntityBatch(SessionImplementor session,
Serializable[] ids,
Type idType,
Object optionalObject,
String optionalEntityName,
Serializable optionalId,
EntityPersister persister,
LockOptions lockOptions)
Called by wrappers that batch load entities
|
Modifier and Type | Method and Description |
---|---|
protected void |
QueryLoader.applyPostLoadLocks(Object[] row,
LockMode[] lockModesArray,
SessionImplementor session) |
protected int |
QueryLoader.bindParameterValues(PreparedStatement statement,
QueryParameters queryParameters,
int startIndex,
SessionImplementor session)
We specifically override this method here, because in general we know much more
about the parameters and their appropriate bind positions here then we do in
our super because we track them explicitly here through the ParameterSpecification
interface.
|
protected Object |
QueryLoader.getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SessionImplementor session) |
protected Object[] |
QueryLoader.getResultRow(Object[] row,
ResultSet rs,
SessionImplementor session) |
List |
QueryLoader.list(SessionImplementor session,
QueryParameters queryParameters) |
ScrollableResults |
QueryLoader.scroll(QueryParameters queryParameters,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
protected int |
AbstractLoadPlanBasedLoader.bindNamedParameters(PreparedStatement statement,
Map namedParams,
int startIndex,
SessionImplementor session)
Bind named parameters to the JDBC prepared statement.
|
protected int |
AbstractLoadPlanBasedLoader.bindParameterValues(PreparedStatement statement,
QueryParameters queryParameters,
int startIndex,
SessionImplementor session)
Bind all parameter values into the prepared statement in preparation
for execution.
|
protected int |
AbstractLoadPlanBasedLoader.bindPositionalParameters(PreparedStatement statement,
QueryParameters queryParameters,
int startIndex,
SessionImplementor session)
Bind positional parameter values to the JDBC prepared statement.
|
protected List |
AbstractLoadPlanBasedLoader.executeLoad(SessionImplementor session,
QueryParameters queryParameters,
LoadQueryDetails loadQueryDetails,
boolean returnProxies,
ResultTransformer forcedResultTransformer) |
protected List |
AbstractLoadPlanBasedLoader.executeLoad(SessionImplementor session,
QueryParameters queryParameters,
LoadQueryDetails loadQueryDetails,
boolean returnProxies,
ResultTransformer forcedResultTransformer,
List<AfterLoadAction> afterLoadActions) |
protected AbstractLoadPlanBasedLoader.SqlStatementWrapper |
AbstractLoadPlanBasedLoader.executeQueryStatement(QueryParameters queryParameters,
boolean scroll,
List<AfterLoadAction> afterLoadActions,
SessionImplementor session) |
protected AbstractLoadPlanBasedLoader.SqlStatementWrapper |
AbstractLoadPlanBasedLoader.executeQueryStatement(String sqlStatement,
QueryParameters queryParameters,
boolean scroll,
List<AfterLoadAction> afterLoadActions,
SessionImplementor session) |
protected ResultSet |
AbstractLoadPlanBasedLoader.getResultSet(PreparedStatement st,
RowSelection selection,
LimitHandler limitHandler,
boolean autodiscovertypes,
SessionImplementor session)
Execute given PreparedStatement, advance to the first result and return SQL ResultSet.
|
protected PreparedStatement |
AbstractLoadPlanBasedLoader.prepareQueryStatement(String sql,
QueryParameters queryParameters,
LimitHandler limitHandler,
boolean scroll,
SessionImplementor session)
Obtain a PreparedStatement with all parameters pre-bound.
|
Modifier and Type | Method and Description |
---|---|
SessionImplementor |
ResultSetProcessingContextImpl.getSession() |
Modifier and Type | Method and Description |
---|---|
List |
ResultSetProcessorImpl.extractResults(ResultSet resultSet,
SessionImplementor session,
QueryParameters queryParameters,
NamedParameterContext namedParameterContext,
boolean returnProxies,
boolean readOnly,
ResultTransformer forcedResultTransformer,
List<AfterLoadAction> afterLoadActionList) |
static EntityKey |
ResultSetProcessorHelper.getOptionalObjectKey(QueryParameters queryParameters,
SessionImplementor session) |
EntityKey |
ResultSetProcessorHelper.interpretEntityKey(SessionImplementor session,
String optionalEntityName,
Serializable optionalId,
Object optionalObject) |
Constructor and Description |
---|
ResultSetProcessingContextImpl(ResultSet resultSet,
SessionImplementor session,
LoadPlan loadPlan,
boolean readOnly,
boolean shouldUseOptionalEntityInformation,
boolean forceFetchLazyAttributes,
boolean shouldReturnProxies,
QueryParameters queryParameters,
NamedParameterContext namedParameterContext,
boolean hadSubselectFetches)
Builds a ResultSetProcessingContextImpl
|
Modifier and Type | Method and Description |
---|---|
SessionImplementor |
ResultSetProcessingContext.getSession() |
Modifier and Type | Method and Description |
---|---|
Object |
ScrollableResultSetProcessor.extractLogicalRowForward(ResultSet resultSet,
SessionImplementor session,
QueryParameters queryParameters)
Given a scrollable ResultSet, extract a logical row.
|
Object |
ScrollableResultSetProcessor.extractLogicalRowReverse(ResultSet resultSet,
SessionImplementor session,
QueryParameters queryParameters,
boolean isLogicallyAfterLast)
Like
ScrollableResultSetProcessor.extractLogicalRowForward(java.sql.ResultSet, org.hibernate.engine.spi.SessionImplementor, org.hibernate.engine.spi.QueryParameters) but here moving through the ResultSet in reverse. |
List |
ResultSetProcessor.extractResults(ResultSet resultSet,
SessionImplementor session,
QueryParameters queryParameters,
NamedParameterContext namedParameterContext,
boolean returnProxies,
boolean readOnly,
ResultTransformer forcedResultTransformer,
List<AfterLoadAction> afterLoadActions)
Process an entire ResultSet, performing all extractions.
|
Object |
ScrollableResultSetProcessor.extractSingleRow(ResultSet resultSet,
SessionImplementor session,
QueryParameters queryParameters)
Give a ResultSet, extract just a single result row.
|
Modifier and Type | Method and Description |
---|---|
void |
AfterLoadAction.afterLoad(SessionImplementor session,
Object entity,
Loadable persister) |
Modifier and Type | Method and Description |
---|---|
void |
Component.ValueGenerationPlan.execute(SessionImplementor session,
Object incomingObject,
Object injectionContext) |
Serializable |
Component.StandardGenerationContextLocator.locateGenerationContext(SessionImplementor session,
Object incomingObject) |
Modifier and Type | Method and Description |
---|---|
Serializable |
ClassMetadata.getIdentifier(Object entity,
SessionImplementor session)
Get the identifier of an instance (throw an exception if no identifier property)
|
Object[] |
ClassMetadata.getPropertyValuesToInsert(Object entity,
Map mergeMap,
SessionImplementor session)
Return the values of the mapped properties of the object
|
Object |
ClassMetadata.instantiate(Serializable id,
SessionImplementor session)
Create a class instance initialized with the given identifier
|
void |
ClassMetadata.setIdentifier(Object entity,
Serializable id,
SessionImplementor session)
Inject the identifier value into the given entity.
|
Modifier and Type | Method and Description |
---|---|
int |
PositionalParameterSpecification.bind(PreparedStatement statement,
QueryParameters qp,
SessionImplementor session,
int position)
Bind the appropriate value into the given statement at the specified position.
|
int |
DynamicFilterParameterSpecification.bind(PreparedStatement statement,
QueryParameters qp,
SessionImplementor session,
int start) |
int |
ParameterSpecification.bind(PreparedStatement statement,
QueryParameters qp,
SessionImplementor session,
int position)
Bind the appropriate value into the given statement at the specified position.
|
int |
CollectionFilterKeyParameterSpecification.bind(PreparedStatement statement,
QueryParameters qp,
SessionImplementor session,
int position) |
int |
VersionTypeSeedParameterSpecification.bind(PreparedStatement statement,
QueryParameters qp,
SessionImplementor session,
int position) |
int |
NamedParameterSpecification.bind(PreparedStatement statement,
QueryParameters qp,
SessionImplementor session,
int position)
Bind the appropriate value into the given statement at the specified position.
|
Modifier and Type | Method and Description |
---|---|
protected CollectionInitializer |
OneToManyPersister.createSubselectInitializer(SubselectFetch subselect,
SessionImplementor session) |
protected abstract CollectionInitializer |
AbstractCollectionPersister.createSubselectInitializer(SubselectFetch subselect,
SessionImplementor session) |
protected CollectionInitializer |
BasicCollectionPersister.createSubselectInitializer(SubselectFetch subselect,
SessionImplementor session) |
void |
AbstractCollectionPersister.deleteRows(PersistentCollection collection,
Serializable id,
SessionImplementor session) |
void |
CollectionPersister.deleteRows(PersistentCollection collection,
Serializable key,
SessionImplementor session)
Delete the persistent state of any elements that were removed from
the collection
|
protected void |
AbstractCollectionPersister.doProcessQueuedOps(PersistentCollection collection,
Serializable key,
int nextIndex,
SessionImplementor session)
|
protected void |
OneToManyPersister.doProcessQueuedOps(PersistentCollection collection,
Serializable id,
SessionImplementor session) |
protected abstract void |
AbstractCollectionPersister.doProcessQueuedOps(PersistentCollection collection,
Serializable key,
SessionImplementor session) |
protected void |
BasicCollectionPersister.doProcessQueuedOps(PersistentCollection collection,
Serializable id,
SessionImplementor session) |
protected int |
OneToManyPersister.doUpdateRows(Serializable id,
PersistentCollection collection,
SessionImplementor session) |
protected abstract int |
AbstractCollectionPersister.doUpdateRows(Serializable key,
PersistentCollection collection,
SessionImplementor session) |
protected int |
BasicCollectionPersister.doUpdateRows(Serializable id,
PersistentCollection collection,
SessionImplementor session) |
boolean |
AbstractCollectionPersister.elementExists(Serializable key,
Object element,
SessionImplementor session) |
boolean |
CollectionPersister.elementExists(Serializable key,
Object element,
SessionImplementor session) |
protected CollectionInitializer |
AbstractCollectionPersister.getAppropriateInitializer(Serializable key,
SessionImplementor session) |
Object |
OneToManyPersister.getElementByIndex(Serializable key,
Object index,
SessionImplementor session,
Object owner) |
Object |
AbstractCollectionPersister.getElementByIndex(Serializable key,
Object index,
SessionImplementor session,
Object owner) |
Object |
CollectionPersister.getElementByIndex(Serializable key,
Object index,
SessionImplementor session,
Object owner) |
int |
AbstractCollectionPersister.getSize(Serializable key,
SessionImplementor session) |
int |
CollectionPersister.getSize(Serializable key,
SessionImplementor session) |
boolean |
AbstractCollectionPersister.indexExists(Serializable key,
Object index,
SessionImplementor session) |
boolean |
CollectionPersister.indexExists(Serializable key,
Object index,
SessionImplementor session) |
void |
NamedQueryCollectionInitializer.initialize(Serializable key,
SessionImplementor session) |
void |
AbstractCollectionPersister.initialize(Serializable key,
SessionImplementor session) |
void |
CollectionPersister.initialize(Serializable key,
SessionImplementor session)
Initialize the given collection with the given key
|
void |
OneToManyPersister.insertRows(PersistentCollection collection,
Serializable id,
SessionImplementor session) |
void |
AbstractCollectionPersister.insertRows(PersistentCollection collection,
Serializable id,
SessionImplementor session) |
void |
CollectionPersister.insertRows(PersistentCollection collection,
Serializable key,
SessionImplementor session)
Insert the persistent state of any new collection elements
|
boolean |
AbstractCollectionPersister.isAffectedByEnabledFilters(SessionImplementor session) |
boolean |
CollectionPersister.isAffectedByEnabledFilters(SessionImplementor session) |
void |
AbstractCollectionPersister.processQueuedOps(PersistentCollection collection,
Serializable key,
SessionImplementor session) |
void |
CollectionPersister.processQueuedOps(PersistentCollection collection,
Serializable key,
SessionImplementor session)
Process queued operations within the PersistentCollection.
|
Object |
AbstractCollectionPersister.readElement(ResultSet rs,
Object owner,
String[] aliases,
SessionImplementor session) |
Object |
CollectionPersister.readElement(ResultSet rs,
Object owner,
String[] columnAliases,
SessionImplementor session)
Read the element from a row of the JDBC ResultSet
|
Object |
AbstractCollectionPersister.readIdentifier(ResultSet rs,
String alias,
SessionImplementor session) |
Object |
CollectionPersister.readIdentifier(ResultSet rs,
String columnAlias,
SessionImplementor session)
Read the identifier from a row of the JDBC ResultSet
|
Object |
AbstractCollectionPersister.readIndex(ResultSet rs,
String[] aliases,
SessionImplementor session) |
Object |
CollectionPersister.readIndex(ResultSet rs,
String[] columnAliases,
SessionImplementor session)
Read the index from a row of the JDBC ResultSet
|
Object |
AbstractCollectionPersister.readKey(ResultSet rs,
String[] aliases,
SessionImplementor session) |
Object |
CollectionPersister.readKey(ResultSet rs,
String[] keyAliases,
SessionImplementor session)
Read the key from a row of the JDBC ResultSet
|
void |
OneToManyPersister.recreate(PersistentCollection collection,
Serializable id,
SessionImplementor session) |
void |
AbstractCollectionPersister.recreate(PersistentCollection collection,
Serializable id,
SessionImplementor session) |
void |
CollectionPersister.recreate(PersistentCollection collection,
Serializable key,
SessionImplementor session)
(Re)create the collection's persistent state
|
void |
AbstractCollectionPersister.remove(Serializable id,
SessionImplementor session) |
void |
CollectionPersister.remove(Serializable id,
SessionImplementor session)
Completely remove the persistent state of the collection
|
void |
AbstractCollectionPersister.updateRows(PersistentCollection collection,
Serializable id,
SessionImplementor session) |
void |
CollectionPersister.updateRows(PersistentCollection collection,
Serializable key,
SessionImplementor session)
Update the persistent state of any elements that were modified
|
protected int |
AbstractCollectionPersister.writeElement(PreparedStatement st,
Object elt,
int i,
SessionImplementor session)
Write the element to a JDBC PreparedStatement
|
protected int |
AbstractCollectionPersister.writeElementToWhere(PreparedStatement st,
Object elt,
int i,
SessionImplementor session)
Write the element to a JDBC PreparedStatement
|
int |
AbstractCollectionPersister.writeIdentifier(PreparedStatement st,
Object id,
int i,
SessionImplementor session)
Write the identifier to a JDBC PreparedStatement
|
protected int |
AbstractCollectionPersister.writeIndex(PreparedStatement st,
Object index,
int i,
SessionImplementor session)
Write the index to a JDBC PreparedStatement
|
protected int |
AbstractCollectionPersister.writeIndexToWhere(PreparedStatement st,
Object index,
int i,
SessionImplementor session)
Write the index to a JDBC PreparedStatement
|
protected int |
AbstractCollectionPersister.writeKey(PreparedStatement st,
Serializable key,
int i,
SessionImplementor session)
Write the key to a JDBC PreparedStatement
|
Modifier and Type | Method and Description |
---|---|
void |
EntityPersister.afterInitialize(Object entity,
boolean lazyPropertiesAreUnfetched,
SessionImplementor session)
Called just after the entities properties have been initialized
|
void |
AbstractEntityPersister.afterInitialize(Object entity,
boolean lazyPropertiesAreUnfetched,
SessionImplementor session) |
void |
EntityPersister.afterReassociate(Object entity,
SessionImplementor session)
Called just after the entity has been reassociated with the session
|
void |
AbstractEntityPersister.afterReassociate(Object entity,
SessionImplementor session) |
CacheEntry |
EntityPersister.buildCacheEntry(Object entity,
Object[] state,
Object version,
SessionImplementor session) |
CacheEntry |
AbstractEntityPersister.buildCacheEntry(Object entity,
Object[] state,
Object version,
SessionImplementor session) |
CacheEntry |
AbstractEntityPersister.CacheEntryHelper.buildCacheEntry(Object entity,
Object[] state,
Object version,
SessionImplementor session) |
Object |
EntityPersister.createProxy(Serializable id,
SessionImplementor session)
Create a new proxy instance
|
Object |
AbstractEntityPersister.createProxy(Serializable id,
SessionImplementor session) |
protected int |
AbstractEntityPersister.dehydrate(Serializable id,
Object[] fields,
boolean[] includeProperty,
boolean[][] includeColumns,
int j,
PreparedStatement st,
SessionImplementor session,
boolean isUpdate) |
protected int |
AbstractEntityPersister.dehydrate(Serializable id,
Object[] fields,
Object rowId,
boolean[] includeProperty,
boolean[][] includeColumns,
int j,
PreparedStatement ps,
SessionImplementor session,
int index,
boolean isUpdate)
Marshall the fields of a persistent instance to a prepared statement
|
protected void |
AbstractEntityPersister.delete(Serializable id,
Object version,
int j,
Object object,
String sql,
SessionImplementor session,
Object[] loadedState)
Perform an SQL DELETE
|
void |
EntityPersister.delete(Serializable id,
Object version,
Object object,
SessionImplementor session)
Delete a persistent instance
|
void |
AbstractEntityPersister.delete(Serializable id,
Object version,
Object object,
SessionImplementor session)
Delete an object
|
int[] |
EntityPersister.findDirty(Object[] currentState,
Object[] previousState,
Object owner,
SessionImplementor session)
Compare the two snapshots to determine if they represent dirty state.
|
int[] |
AbstractEntityPersister.findDirty(Object[] currentState,
Object[] previousState,
Object entity,
SessionImplementor session)
Locate the property-indices of all properties considered to be dirty.
|
int[] |
EntityPersister.findModified(Object[] old,
Object[] current,
Object object,
SessionImplementor session)
Compare the two snapshots to determine if they represent modified state.
|
int[] |
AbstractEntityPersister.findModified(Object[] old,
Object[] current,
Object entity,
SessionImplementor session)
Locate the property-indices of all properties considered to be dirty.
|
Object |
EntityPersister.forceVersionIncrement(Serializable id,
Object currentVersion,
SessionImplementor session) |
Object |
AbstractEntityPersister.forceVersionIncrement(Serializable id,
Object currentVersion,
SessionImplementor session) |
Object |
EntityPersister.getCurrentVersion(Serializable id,
SessionImplementor session)
Get the current version of the object, or return null if there is no row for
the given identifier.
|
Object |
AbstractEntityPersister.getCurrentVersion(Serializable id,
SessionImplementor session)
Retrieve the version number
|
Object[] |
EntityPersister.getDatabaseSnapshot(Serializable id,
SessionImplementor session)
Get the current database state of the object, in a "hydrated" form, without
resolving identifiers
|
Object[] |
AbstractEntityPersister.getDatabaseSnapshot(Serializable id,
SessionImplementor session) |
Serializable |
EntityPersister.getIdByUniqueKey(Serializable key,
String uniquePropertyName,
SessionImplementor session) |
Serializable |
AbstractEntityPersister.getIdByUniqueKey(Serializable key,
String uniquePropertyName,
SessionImplementor session) |
Serializable |
EntityPersister.getIdentifier(Object entity,
SessionImplementor session)
Get the identifier of an instance (throw an exception if no identifier property)
|
Serializable |
AbstractEntityPersister.getIdentifier(Object entity,
SessionImplementor session) |
Object[] |
EntityPersister.getNaturalIdentifierSnapshot(Serializable id,
SessionImplementor session)
Retrieve the current state of the natural-id properties from the database.
|
Object[] |
AbstractEntityPersister.getNaturalIdentifierSnapshot(Serializable id,
SessionImplementor session) |
Object[] |
EntityPersister.getPropertyValuesToInsert(Object object,
Map mergeMap,
SessionImplementor session)
Return the values of the insertable properties of the object (including backrefs)
|
Object[] |
AbstractEntityPersister.getPropertyValuesToInsert(Object object,
Map mergeMap,
SessionImplementor session) |
Object[] |
AbstractEntityPersister.hydrate(ResultSet rs,
Serializable id,
Object object,
Loadable rootLoadable,
String[][] suffixedPropertyColumns,
boolean allProperties,
SessionImplementor session)
Unmarshall the fields of a persistent instance from a result set,
without resolving associations or collections.
|
Object[] |
Loadable.hydrate(ResultSet rs,
Serializable id,
Object object,
Loadable rootLoadable,
String[][] suffixedPropertyColumns,
boolean allProperties,
SessionImplementor session)
Retrieve property values from one row of a result set
|
Object |
AbstractEntityPersister.initializeLazyProperty(String fieldName,
Object entity,
SessionImplementor session) |
protected Serializable |
AbstractEntityPersister.insert(Object[] fields,
boolean[] notNull,
String sql,
Object object,
SessionImplementor session)
Perform an SQL INSERT, and then retrieve a generated identifier.
|
Serializable |
EntityPersister.insert(Object[] fields,
Object object,
SessionImplementor session)
Persist an instance, using a natively generated identifier (optional operation)
|
Serializable |
AbstractEntityPersister.insert(Object[] fields,
Object object,
SessionImplementor session) |
protected void |
AbstractEntityPersister.insert(Serializable id,
Object[] fields,
boolean[] notNull,
int j,
String sql,
Object object,
SessionImplementor session)
Perform an SQL INSERT.
|
void |
EntityPersister.insert(Serializable id,
Object[] fields,
Object object,
SessionImplementor session)
Persist an instance
|
void |
AbstractEntityPersister.insert(Serializable id,
Object[] fields,
Object object,
SessionImplementor session) |
Object |
EntityPersister.instantiate(Serializable id,
SessionImplementor session)
Create a class instance initialized with the given identifier
|
Object |
AbstractEntityPersister.instantiate(Serializable id,
SessionImplementor session) |
boolean |
DiscriminatorType.isDirty(Object old,
Object current,
boolean[] checkable,
SessionImplementor session) |
Boolean |
EntityPersister.isTransient(Object object,
SessionImplementor session)
Is this a new transient instance?
|
Boolean |
AbstractEntityPersister.isTransient(Object entity,
SessionImplementor session) |
Object |
EntityPersister.load(Serializable id,
Object optionalObject,
LockMode lockMode,
SessionImplementor session)
Load an instance of the persistent class.
|
Object |
AbstractEntityPersister.load(Serializable id,
Object optionalObject,
LockMode lockMode,
SessionImplementor session)
Load an instance using either the forUpdateLoader or the outer joining loader,
depending upon the value of the lock parameter
|
Object |
EntityPersister.load(Serializable id,
Object optionalObject,
LockOptions lockOptions,
SessionImplementor session)
Load an instance of the persistent class.
|
Object |
AbstractEntityPersister.load(Serializable id,
Object optionalObject,
LockOptions lockOptions,
SessionImplementor session)
Load an instance using either the forUpdateLoader or the outer joining loader,
depending upon the value of the lock parameter
|
Object |
NamedQueryLoader.load(Serializable id,
Object optionalObject,
SessionImplementor session) |
Object |
NamedQueryLoader.load(Serializable id,
Object optionalObject,
SessionImplementor session,
LockOptions lockOptions) |
Object |
AbstractEntityPersister.loadByUniqueKey(String propertyName,
Object uniqueKey,
SessionImplementor session) |
Object |
UniqueKeyLoadable.loadByUniqueKey(String propertyName,
Object uniqueKey,
SessionImplementor session)
Load an instance of the persistent class, by a unique key other
than the primary key.
|
Serializable |
EntityPersister.loadEntityIdByNaturalId(Object[] naturalIdValues,
LockOptions lockOptions,
SessionImplementor session)
Load the id for the entity based on the natural id.
|
Serializable |
AbstractEntityPersister.loadEntityIdByNaturalId(Object[] naturalIdValues,
LockOptions lockOptions,
SessionImplementor session) |
void |
EntityPersister.lock(Serializable id,
Object version,
Object object,
LockMode lockMode,
SessionImplementor session)
Do a version check (optional operation)
|
void |
AbstractEntityPersister.lock(Serializable id,
Object version,
Object object,
LockMode lockMode,
SessionImplementor session) |
void |
EntityPersister.lock(Serializable id,
Object version,
Object object,
LockOptions lockOptions,
SessionImplementor session)
Do a version check (optional operation)
|
void |
AbstractEntityPersister.lock(Serializable id,
Object version,
Object object,
LockOptions lockOptions,
SessionImplementor session) |
Object |
DiscriminatorType.nullSafeGet(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner) |
Object |
DiscriminatorType.nullSafeGet(ResultSet rs,
String name,
SessionImplementor session,
Object owner) |
void |
DiscriminatorType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SessionImplementor session) |
void |
DiscriminatorType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SessionImplementor session) |
void |
EntityPersister.processInsertGeneratedProperties(Serializable id,
Object entity,
Object[] state,
SessionImplementor session)
Perform a select to retrieve the values of any generated properties
back from the database, injecting these generated values into the
given entity as well as writing this state to the
PersistenceContext . |
void |
AbstractEntityPersister.processInsertGeneratedProperties(Serializable id,
Object entity,
Object[] state,
SessionImplementor session) |
void |
EntityPersister.processUpdateGeneratedProperties(Serializable id,
Object entity,
Object[] state,
SessionImplementor session)
Perform a select to retrieve the values of any generated properties
back from the database, injecting these generated values into the
given entity as well as writing this state to the
PersistenceContext . |
void |
AbstractEntityPersister.processUpdateGeneratedProperties(Serializable id,
Object entity,
Object[] state,
SessionImplementor session) |
Object |
DiscriminatorType.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache) |
void |
EntityPersister.resetIdentifier(Object entity,
Serializable currentId,
Object currentVersion,
SessionImplementor session)
Set the identifier and version of the given instance back to its "unsaved" value.
|
void |
AbstractEntityPersister.resetIdentifier(Object entity,
Serializable currentId,
Object currentVersion,
SessionImplementor session) |
void |
EntityPersister.setIdentifier(Object entity,
Serializable id,
SessionImplementor session)
Inject the identifier value into the given entity.
|
void |
AbstractEntityPersister.setIdentifier(Object entity,
Serializable id,
SessionImplementor session) |
void |
EntityPersister.update(Serializable id,
Object[] fields,
int[] dirtyFields,
boolean hasDirtyCollection,
Object[] oldFields,
Object oldVersion,
Object object,
Object rowId,
SessionImplementor session)
Update a persistent instance
|
void |
AbstractEntityPersister.update(Serializable id,
Object[] fields,
int[] dirtyFields,
boolean hasDirtyCollection,
Object[] oldFields,
Object oldVersion,
Object object,
Object rowId,
SessionImplementor session)
Update an object
|
protected boolean |
AbstractEntityPersister.update(Serializable id,
Object[] fields,
Object[] oldFields,
Object rowId,
boolean[] includeProperty,
int j,
Object oldVersion,
Object object,
String sql,
SessionImplementor session) |
protected void |
AbstractEntityPersister.updateOrInsert(Serializable id,
Object[] fields,
Object[] oldFields,
Object rowId,
boolean[] includeProperty,
int j,
Object oldVersion,
Object object,
String sql,
SessionImplementor session)
Perform an SQL UPDATE or SQL INSERT
|
Modifier and Type | Method and Description |
---|---|
static String |
MessageHelper.collectionInfoString(CollectionPersister persister,
PersistentCollection collection,
Serializable collectionKey,
SessionImplementor session)
Generate an info message string relating to a particular managed
collection.
|
Modifier and Type | Method and Description |
---|---|
ProcedureCall |
ProcedureCallMemento.makeProcedureCall(SessionImplementor session)
Convert the memento back into an executable (connected) form.
|
Modifier and Type | Method and Description |
---|---|
SessionImplementor |
ProcedureCallImpl.getSession() |
protected SessionImplementor |
AbstractParameterRegistrationImpl.session() |
Modifier and Type | Method and Description |
---|---|
ProcedureCall |
ProcedureCallMementoImpl.makeProcedureCall(SessionImplementor session) |
void |
StandardCallableStatementSupport.registerParameters(String procedureName,
CallableStatement statement,
ParameterStrategy parameterStrategy,
List<ParameterRegistrationImplementor<?>> parameterRegistrations,
SessionImplementor session) |
void |
PostgresCallableStatementSupport.registerParameters(String procedureName,
CallableStatement statement,
ParameterStrategy parameterStrategy,
List<ParameterRegistrationImplementor<?>> parameterRegistrations,
SessionImplementor session) |
String |
StandardCallableStatementSupport.renderCallableStatement(String procedureName,
ParameterStrategy parameterStrategy,
List<ParameterRegistrationImplementor<?>> parameterRegistrations,
SessionImplementor session) |
String |
PostgresCallableStatementSupport.renderCallableStatement(String procedureName,
ParameterStrategy parameterStrategy,
List<ParameterRegistrationImplementor<?>> parameterRegistrations,
SessionImplementor session) |
Constructor and Description |
---|
ProcedureCallImpl(SessionImplementor session,
String procedureName)
The no-returns form.
|
ProcedureCallImpl(SessionImplementor session,
String procedureName,
Class... resultClasses)
The result Class(es) return form
|
ProcedureCallImpl(SessionImplementor session,
String procedureName,
String... resultSetMappings)
The result-set-mapping(s) return form
|
Modifier and Type | Method and Description |
---|---|
void |
CallableStatementSupport.registerParameters(String procedureName,
CallableStatement statement,
ParameterStrategy parameterStrategy,
List<ParameterRegistrationImplementor<?>> parameterRegistrations,
SessionImplementor session) |
String |
CallableStatementSupport.renderCallableStatement(String name,
ParameterStrategy parameterStrategy,
List<ParameterRegistrationImplementor<?>> parameterRegistrations,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
Object |
MapAccessor.MapGetter.getForInsert(Object target,
Map mergeMap,
SessionImplementor session) |
Object |
DirectPropertyAccessor.DirectGetter.getForInsert(Object target,
Map mergeMap,
SessionImplementor session) |
Object |
IndexPropertyAccessor.IndexGetter.getForInsert(Object target,
Map mergeMap,
SessionImplementor session) |
Object |
BackrefPropertyAccessor.BackrefGetter.getForInsert(Object target,
Map mergeMap,
SessionImplementor session) |
Object |
Getter.getForInsert(Object owner,
Map mergeMap,
SessionImplementor session)
Get the property value from the given owner instance.
|
Object |
EmbeddedPropertyAccessor.EmbeddedGetter.getForInsert(Object target,
Map mergeMap,
SessionImplementor session) |
Object |
BasicPropertyAccessor.BasicGetter.getForInsert(Object target,
Map mergeMap,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
SessionImplementor |
LazyInitializer.getSession()
Get the session to which this proxy is associated, or null if it is not attached.
|
SessionImplementor |
AbstractLazyInitializer.getSession() |
Modifier and Type | Method and Description |
---|---|
Object |
LazyInitializer.getImplementation(SessionImplementor session)
Return the underlying persistent object in the given session, or null if not contained in this session's
persistence context.
|
Object |
AbstractLazyInitializer.getImplementation(SessionImplementor s) |
HibernateProxy |
ProxyFactory.getProxy(Serializable id,
SessionImplementor session)
Create a new proxy instance
|
void |
LazyInitializer.setSession(SessionImplementor session)
Associate the proxy with the given session.
|
void |
AbstractLazyInitializer.setSession(SessionImplementor s) |
Constructor and Description |
---|
AbstractLazyInitializer(String entityName,
Serializable id,
SessionImplementor session)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
HibernateProxy |
MapProxyFactory.getProxy(Serializable id,
SessionImplementor session) |
Constructor and Description |
---|
BasicLazyInitializer(String entityName,
Class persistentClass,
Serializable id,
Method getIdentifierMethod,
Method setIdentifierMethod,
CompositeType componentIdType,
SessionImplementor session,
boolean overridesEquals) |
Modifier and Type | Method and Description |
---|---|
static HibernateProxy |
JavassistLazyInitializer.getProxy(Class factory,
String entityName,
Class persistentClass,
Class[] interfaces,
Method getIdentifierMethod,
Method setIdentifierMethod,
CompositeType componentIdType,
Serializable id,
SessionImplementor session,
boolean classOverridesEquals) |
HibernateProxy |
JavassistProxyFactory.getProxy(Serializable id,
SessionImplementor session) |
static HibernateProxy |
JavassistLazyInitializer.getProxy(String entityName,
Class persistentClass,
Class[] interfaces,
Method getIdentifierMethod,
Method setIdentifierMethod,
CompositeType componentIdType,
Serializable id,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
SessionImplementor |
ResultContext.getSession() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractJaccSecurableEventListener.performSecurityCheck(SessionImplementor session,
PermissionCheckEntityInformation entityInformation,
PermissibleAction action) |
Constructor and Description |
---|
SessionStatisticsImpl(SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
void |
PojoEntityTuplizer.afterInitialize(Object entity,
boolean lazyPropertiesAreUnfetched,
SessionImplementor session) |
void |
EntityTuplizer.afterInitialize(Object entity,
boolean lazyPropertiesAreUnfetched,
SessionImplementor session)
Called just after the entities properties have been initialized.
|
void |
AbstractEntityTuplizer.afterInitialize(Object entity,
boolean lazyPropertiesAreUnfetched,
SessionImplementor session) |
Object |
EntityTuplizer.createProxy(Serializable id,
SessionImplementor session)
Generates an appropriate proxy representation of this entity for this
entity-mode.
|
Object |
AbstractEntityTuplizer.createProxy(Serializable id,
SessionImplementor session) |
Serializable |
EntityTuplizer.getIdentifier(Object entity,
SessionImplementor session)
Extract the identifier value from the given entity.
|
Serializable |
AbstractEntityTuplizer.getIdentifier(Object entity,
SessionImplementor session) |
Object[] |
PojoEntityTuplizer.getPropertyValuesToInsert(Object entity,
Map mergeMap,
SessionImplementor session) |
Object[] |
EntityTuplizer.getPropertyValuesToInsert(Object entity,
Map mergeMap,
SessionImplementor session)
Extract the values of the insertable properties of the entity (including backrefs)
|
Object[] |
AbstractEntityTuplizer.getPropertyValuesToInsert(Object entity,
Map mergeMap,
SessionImplementor session) |
FieldInterceptor |
NonPojoInstrumentationMetadata.injectInterceptor(Object entity,
String entityName,
Set uninitializedFieldNames,
SessionImplementor session) |
Object |
EntityTuplizer.instantiate(Serializable id,
SessionImplementor session)
Create an entity instance initialized with the given identifier.
|
Object |
AbstractEntityTuplizer.instantiate(Serializable id,
SessionImplementor session) |
void |
EntityTuplizer.resetIdentifier(Object entity,
Serializable currentId,
Object currentVersion,
SessionImplementor session)
Inject the given identifier and version into the entity, in order to
"roll back" to their original values.
|
void |
AbstractEntityTuplizer.resetIdentifier(Object entity,
Serializable currentId,
Object currentVersion,
SessionImplementor session) |
void |
EntityTuplizer.setIdentifier(Object entity,
Serializable id,
SessionImplementor session)
Inject the identifier value into the given entity.
|
void |
AbstractEntityTuplizer.setIdentifier(Object entity,
Serializable id,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
static Object[] |
TypeHelper.assemble(Serializable[] row,
Type[] types,
SessionImplementor session,
Object owner)
Apply the
Type.assemble(java.io.Serializable, org.hibernate.engine.spi.SessionImplementor, java.lang.Object) operation across a series of values. |
Object |
OneToOneType.assemble(Serializable oid,
SessionImplementor session,
Object owner) |
Object |
ComponentType.assemble(Serializable object,
SessionImplementor session,
Object owner) |
Object |
SpecialOneToOneType.assemble(Serializable oid,
SessionImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.assemble(Serializable cached,
SessionImplementor session,
Object owner) |
Object |
ManyToOneType.assemble(Serializable oid,
SessionImplementor session,
Object owner) |
Object |
CompositeCustomType.assemble(Serializable cached,
SessionImplementor session,
Object owner) |
Object |
AbstractType.assemble(Serializable cached,
SessionImplementor session,
Object owner) |
Object |
CustomType.assemble(Serializable cached,
SessionImplementor session,
Object owner) |
Object |
AnyType.assemble(Serializable cached,
SessionImplementor session,
Object owner) |
Object |
CollectionType.assemble(Serializable cached,
SessionImplementor session,
Object owner) |
Object |
Type.assemble(Serializable cached,
SessionImplementor session,
Object owner)
Reconstruct the object from its disassembled state.
|
static void |
TypeHelper.beforeAssemble(Serializable[] row,
Type[] types,
SessionImplementor session)
Apply the
Type.beforeAssemble(java.io.Serializable, org.hibernate.engine.spi.SessionImplementor) operation across a series of values. |
void |
AbstractStandardBasicType.beforeAssemble(Serializable cached,
SessionImplementor session) |
void |
ManyToOneType.beforeAssemble(Serializable oid,
SessionImplementor session) |
void |
AbstractType.beforeAssemble(Serializable cached,
SessionImplementor session) |
void |
Type.beforeAssemble(Serializable cached,
SessionImplementor session)
Called before assembling a query result set from the query cache, to allow batch fetching
of entities missing from the second-level cache.
|
boolean |
CustomCollectionType.contains(Object collection,
Object entity,
SessionImplementor session) |
boolean |
CollectionType.contains(Object collection,
Object childObject,
SessionImplementor session) |
static void |
TypeHelper.deepCopy(Object[] values,
Type[] types,
boolean[] copy,
Object[] target,
SessionImplementor session)
Deep copy a series of values from one array to another...
|
static Serializable[] |
TypeHelper.disassemble(Object[] row,
Type[] types,
boolean[] nonCacheable,
SessionImplementor session,
Object owner)
Apply the
Type.disassemble(java.lang.Object, org.hibernate.engine.spi.SessionImplementor, java.lang.Object) operation across a series of values. |
Serializable |
OneToOneType.disassemble(Object value,
SessionImplementor session,
Object owner) |
Serializable |
ComponentType.disassemble(Object value,
SessionImplementor session,
Object owner) |
Serializable |
SpecialOneToOneType.disassemble(Object value,
SessionImplementor session,
Object owner) |
Serializable |
AbstractStandardBasicType.disassemble(Object value,
SessionImplementor session,
Object owner) |
Serializable |
ManyToOneType.disassemble(Object value,
SessionImplementor session,
Object owner) |
Serializable |
CompositeCustomType.disassemble(Object value,
SessionImplementor session,
Object owner) |
Serializable |
AbstractType.disassemble(Object value,
SessionImplementor session,
Object owner) |
Serializable |
CustomType.disassemble(Object value,
SessionImplementor session,
Object owner) |
Serializable |
AnyType.disassemble(Object value,
SessionImplementor session,
Object owner) |
Serializable |
CollectionType.disassemble(Object value,
SessionImplementor session,
Object owner) |
Serializable |
Type.disassemble(Object value,
SessionImplementor session,
Object owner)
Return a disassembled representation of the object.
|
Object |
ComponentType.extract(CallableStatement statement,
int startIndex,
SessionImplementor session) |
T |
AbstractStandardBasicType.extract(CallableStatement statement,
int startIndex,
SessionImplementor session) |
T |
ProcedureParameterExtractionAware.extract(CallableStatement statement,
int startIndex,
SessionImplementor session)
Perform the extraction
|
Object |
ComponentType.extract(CallableStatement statement,
String[] paramNames,
SessionImplementor session) |
T |
AbstractStandardBasicType.extract(CallableStatement statement,
String[] paramNames,
SessionImplementor session) |
T |
ProcedureParameterExtractionAware.extract(CallableStatement statement,
String[] paramNames,
SessionImplementor session)
Perform the extraction
|
static int[] |
TypeHelper.findDirty(NonIdentifierAttribute[] properties,
Object[] currentState,
Object[] previousState,
boolean[][] includeColumns,
boolean anyUninitializedProperties,
SessionImplementor session)
Determine if any of the given field values are dirty, returning an array containing
indices of the dirty fields.
|
static int[] |
TypeHelper.findModified(NonIdentifierAttribute[] properties,
Object[] currentState,
Object[] previousState,
boolean[][] includeColumns,
boolean anyUninitializedProperties,
SessionImplementor session)
Determine if any of the given field values are modified, returning an array containing
indices of the modified fields.
|
Object |
AbstractStandardBasicType.get(ResultSet rs,
String name,
SessionImplementor session) |
Object |
SingleColumnType.get(ResultSet rs,
String name,
SessionImplementor session)
Get a column value from a result set, without worrying about the possibility of null values.
|
Object |
CollectionType.getCollection(Serializable key,
SessionImplementor session,
Object owner)
instantiate a collection wrapper (called when loading an object)
|
Iterator |
CollectionType.getElementsIterator(Object collection,
SessionImplementor session)
Get an iterator over the element set of the collection, which may not yet be wrapped
|
protected Object |
EntityType.getIdentifier(Object value,
SessionImplementor session) |
Serializable |
CollectionType.getIdOfOwnerOrNull(Serializable key,
SessionImplementor session)
Get the id value from the owning entity key, usually the same as the key, but might be some
other property, in the case of property-ref
|
Serializable |
CollectionType.getKeyOfOwner(Object owner,
SessionImplementor session)
Get the key value from the owning entity instance, usually the identifier, but might be some
other unique key, in the case of property-ref
|
Object |
ComponentType.getPropertyValue(Object component,
int i,
SessionImplementor session) |
Object |
CompositeType.getPropertyValue(Object component,
int index,
SessionImplementor session)
Extract a particular component property value indicated by index.
|
Object |
CompositeCustomType.getPropertyValue(Object component,
int i,
SessionImplementor session) |
Object |
AnyType.getPropertyValue(Object component,
int i,
SessionImplementor session) |
Object[] |
ComponentType.getPropertyValues(Object component,
SessionImplementor session) |
Object[] |
CompositeType.getPropertyValues(Object component,
SessionImplementor session)
Extract the values of the component properties from the given component instance
|
Object[] |
CompositeCustomType.getPropertyValues(Object component,
SessionImplementor session) |
Object[] |
AnyType.getPropertyValues(Object component,
SessionImplementor session) |
protected Blob |
BlobType.getReplacement(Blob original,
Blob target,
SessionImplementor session) |
protected Clob |
ClobType.getReplacement(Clob original,
Clob target,
SessionImplementor session) |
protected NClob |
NClobType.getReplacement(NClob original,
NClob target,
SessionImplementor session) |
protected T |
AbstractStandardBasicType.getReplacement(T original,
T target,
SessionImplementor session) |
Object |
OneToOneType.hydrate(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner) |
Object |
ComponentType.hydrate(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner) |
Object |
SpecialOneToOneType.hydrate(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.hydrate(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner) |
Object |
ManyToOneType.hydrate(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner) |
Object |
AbstractType.hydrate(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner) |
Object |
AnyType.hydrate(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner) |
Object |
CollectionType.hydrate(ResultSet rs,
String[] name,
SessionImplementor session,
Object owner) |
Object |
Type.hydrate(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner)
Extract a value from the JDBC result set.
|
Object |
EmbeddedComponentType.instantiate(Object parent,
SessionImplementor session) |
Object |
ComponentType.instantiate(Object parent,
SessionImplementor session) |
PersistentCollection |
ArrayType.instantiate(SessionImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
SetType.instantiate(SessionImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
CustomCollectionType.instantiate(SessionImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
BagType.instantiate(SessionImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
MapType.instantiate(SessionImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
SortedSetType.instantiate(SessionImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
SortedMapType.instantiate(SessionImplementor session,
CollectionPersister persister,
Serializable key) |
abstract PersistentCollection |
CollectionType.instantiate(SessionImplementor session,
CollectionPersister persister,
Serializable key)
Instantiate an uninitialized collection wrapper or holder.
|
PersistentCollection |
IdentifierBagType.instantiate(SessionImplementor session,
CollectionPersister persister,
Serializable key) |
PersistentCollection |
ListType.instantiate(SessionImplementor session,
CollectionPersister persister,
Serializable key) |
boolean |
OneToOneType.isDirty(Object old,
Object current,
boolean[] checkable,
SessionImplementor session) |
boolean |
ComponentType.isDirty(Object x,
Object y,
boolean[] checkable,
SessionImplementor session) |
boolean |
AbstractStandardBasicType.isDirty(Object old,
Object current,
boolean[] checkable,
SessionImplementor session) |
boolean |
ManyToOneType.isDirty(Object old,
Object current,
boolean[] checkable,
SessionImplementor session) |
boolean |
CompositeCustomType.isDirty(Object old,
Object current,
boolean[] checkable,
SessionImplementor session) |
boolean |
AbstractLobType.isDirty(Object old,
Object current,
boolean[] checkable,
SessionImplementor session)
Deprecated.
|
boolean |
CustomType.isDirty(Object old,
Object current,
boolean[] checkable,
SessionImplementor session) |
boolean |
AnyType.isDirty(Object old,
Object current,
boolean[] checkable,
SessionImplementor session) |
boolean |
MetaType.isDirty(Object old,
Object current,
boolean[] checkable,
SessionImplementor session) |
boolean |
CollectionType.isDirty(Object old,
Object current,
boolean[] checkable,
SessionImplementor session) |
boolean |
Type.isDirty(Object oldState,
Object currentState,
boolean[] checkable,
SessionImplementor session)
Should the parent be considered dirty, given both the old and current value?
|
boolean |
NullableType.isDirty(Object old,
Object current,
boolean[] checkable,
SessionImplementor session)
Deprecated.
|
boolean |
OneToOneType.isDirty(Object old,
Object current,
SessionImplementor session) |
boolean |
ComponentType.isDirty(Object x,
Object y,
SessionImplementor session) |
boolean |
AbstractStandardBasicType.isDirty(Object old,
Object current,
SessionImplementor session) |
boolean |
ManyToOneType.isDirty(Object old,
Object current,
SessionImplementor session) |
boolean |
AbstractType.isDirty(Object old,
Object current,
SessionImplementor session) |
boolean |
CollectionType.isDirty(Object old,
Object current,
SessionImplementor session) |
boolean |
Type.isDirty(Object old,
Object current,
SessionImplementor session)
Should the parent be considered dirty, given both the old and current value?
|
boolean |
OneToOneType.isModified(Object old,
Object current,
boolean[] checkable,
SessionImplementor session) |
boolean |
ComponentType.isModified(Object old,
Object current,
boolean[] checkable,
SessionImplementor session) |
boolean |
AbstractStandardBasicType.isModified(Object oldHydratedState,
Object currentState,
boolean[] checkable,
SessionImplementor session) |
boolean |
ManyToOneType.isModified(Object old,
Object current,
boolean[] checkable,
SessionImplementor session) |
boolean |
AbstractType.isModified(Object old,
Object current,
boolean[] checkable,
SessionImplementor session) |
boolean |
AnyType.isModified(Object old,
Object current,
boolean[] checkable,
SessionImplementor session) |
boolean |
CollectionType.isModified(Object old,
Object current,
boolean[] checkable,
SessionImplementor session) |
boolean |
Type.isModified(Object dbState,
Object currentState,
boolean[] checkable,
SessionImplementor session)
Has the value been modified compared to the current database state? The difference between this
and the
Type.isDirty(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SessionImplementor) methods is that here we need to account for "partially" built values. |
protected boolean |
EntityType.isNotEmbedded(SessionImplementor session)
Deprecated.
To be removed in 5. Removed as part of removing the notion of DOM entity-mode.
See Jira issue: HHH-7771
|
boolean |
OneToOneType.isNull(Object owner,
SessionImplementor session) |
protected boolean |
EntityType.isNull(Object owner,
SessionImplementor session) |
Object |
EntityType.loadByUniqueKey(String entityName,
String uniqueKeyPropertyName,
Object key,
SessionImplementor session)
Load an instance by a unique key that is not the primary key.
|
byte[] |
BinaryType.next(byte[] current,
SessionImplementor session) |
Byte |
ByteType.next(Byte current,
SessionImplementor session) |
Calendar |
CalendarType.next(Calendar current,
SessionImplementor session) |
Date |
TimestampType.next(Date current,
SessionImplementor session) |
Integer |
IntegerType.next(Integer current,
SessionImplementor session) |
Long |
LongType.next(Long current,
SessionImplementor session) |
Object |
CustomType.next(Object current,
SessionImplementor session) |
Object |
AbstractBynaryType.next(Object current,
SessionImplementor session)
Deprecated.
|
Short |
ShortType.next(Short current,
SessionImplementor session) |
T |
VersionType.next(T current,
SessionImplementor session)
Increment the version.
|
Object |
ComponentType.nullSafeGet(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.nullSafeGet(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner) |
Object |
CompositeCustomType.nullSafeGet(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner) |
Object |
AbstractLobType.nullSafeGet(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner)
Deprecated.
|
Object |
StringClobType.nullSafeGet(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner)
Deprecated.
|
Object |
EntityType.nullSafeGet(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner) |
Object |
CustomType.nullSafeGet(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner) |
Object |
AnyType.nullSafeGet(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner) |
Object |
EnumType.nullSafeGet(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner) |
Object |
MetaType.nullSafeGet(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner) |
Object |
CollectionType.nullSafeGet(ResultSet rs,
String[] name,
SessionImplementor session,
Object owner) |
Object |
Type.nullSafeGet(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner)
Extract a value of the
mapped class from the JDBC result set. |
Object |
NullableType.nullSafeGet(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner)
Deprecated.
|
T |
AbstractStandardBasicType.nullSafeGet(ResultSet rs,
String name,
SessionImplementor session) |
T |
SingleColumnType.nullSafeGet(ResultSet rs,
String name,
SessionImplementor session)
Get a column value from a result set by name.
|
Object |
ComponentType.nullSafeGet(ResultSet rs,
String name,
SessionImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.nullSafeGet(ResultSet rs,
String name,
SessionImplementor session,
Object owner) |
Object |
CompositeCustomType.nullSafeGet(ResultSet rs,
String columnName,
SessionImplementor session,
Object owner) |
Object |
AbstractLobType.nullSafeGet(ResultSet rs,
String name,
SessionImplementor session,
Object owner)
Deprecated.
|
Object |
EntityType.nullSafeGet(ResultSet rs,
String name,
SessionImplementor session,
Object owner) |
Object |
CustomType.nullSafeGet(ResultSet rs,
String columnName,
SessionImplementor session,
Object owner) |
Object |
AnyType.nullSafeGet(ResultSet rs,
String name,
SessionImplementor session,
Object owner) |
Object |
MetaType.nullSafeGet(ResultSet rs,
String name,
SessionImplementor session,
Object owner) |
Object |
CollectionType.nullSafeGet(ResultSet rs,
String name,
SessionImplementor session,
Object owner) |
Object |
Type.nullSafeGet(ResultSet rs,
String name,
SessionImplementor session,
Object owner)
Extract a value of the
mapped class from the JDBC result set. |
Object |
NullableType.nullSafeGet(ResultSet rs,
String name,
SessionImplementor session,
Object owner)
Deprecated.
|
void |
OneToOneType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SessionImplementor session) |
void |
ComponentType.nullSafeSet(PreparedStatement st,
Object value,
int begin,
boolean[] settable,
SessionImplementor session) |
void |
ManyToOneType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SessionImplementor session) |
void |
CompositeCustomType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SessionImplementor session) |
void |
AbstractLobType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SessionImplementor session)
Deprecated.
|
void |
CustomType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SessionImplementor session) |
void |
AnyType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SessionImplementor session) |
void |
AbstractSingleColumnStandardBasicType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SessionImplementor session) |
void |
MetaType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SessionImplementor session) |
void |
CollectionType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SessionImplementor session) |
void |
Type.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SessionImplementor session)
Bind a value represented by an instance of the
mapped class to the JDBC prepared
statement, ignoring some columns as dictated by the 'settable' parameter. |
void |
NullableType.nullSafeSet(PreparedStatement st,
Object value,
int index,
boolean[] settable,
SessionImplementor session)
Deprecated.
|
void |
OneToOneType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SessionImplementor session) |
void |
ComponentType.nullSafeSet(PreparedStatement st,
Object value,
int begin,
SessionImplementor session) |
void |
AbstractStandardBasicType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SessionImplementor session) |
void |
ManyToOneType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SessionImplementor session) |
void |
CompositeCustomType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SessionImplementor session) |
void |
AbstractLobType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SessionImplementor session)
Deprecated.
|
void |
StringClobType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SessionImplementor session)
Deprecated.
|
void |
CustomType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SessionImplementor session) |
void |
AnyType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SessionImplementor session) |
void |
EnumType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SessionImplementor session) |
void |
MetaType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SessionImplementor session) |
void |
CollectionType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SessionImplementor session) |
void |
Type.nullSafeSet(PreparedStatement st,
Object value,
int index,
SessionImplementor session)
Bind a value represented by an instance of the
mapped class to the JDBC prepared
statement. |
void |
NullableType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SessionImplementor session)
Deprecated.
|
static Object[] |
TypeHelper.replace(Object[] original,
Object[] target,
Type[] types,
SessionImplementor session,
Object owner,
Map copyCache)
Apply the
Type.replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SessionImplementor, java.lang.Object, java.util.Map) operation across a series of values. |
static Object[] |
TypeHelper.replace(Object[] original,
Object[] target,
Type[] types,
SessionImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection)
Apply the
Type.replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SessionImplementor, java.lang.Object, java.util.Map) operation across a series of values. |
Object |
ComponentType.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache) |
Object |
ByteArrayBlobType.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache)
Deprecated.
|
Object |
AbstractStandardBasicType.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache) |
Object |
CompositeCustomType.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache) |
Object |
ImmutableType.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache)
Deprecated.
|
Object |
EntityType.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache) |
Object |
CustomType.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache) |
Object |
AnyType.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache) |
Object |
MetaType.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache) |
Object |
CollectionType.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache) |
Object |
MutableType.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache)
Deprecated.
|
Object |
Type.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache)
During merge, replace the existing (target) value in the entity we are merging to
with a new (original) value from the detached entity we are merging.
|
Object |
ComponentType.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection) |
Object |
AbstractStandardBasicType.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection) |
Object |
AbstractType.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection) |
Object |
Type.replace(Object original,
Object target,
SessionImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection)
During merge, replace the existing (target) value in the entity we are merging to
with a new (original) value from the detached entity we are merging.
|
static Object[] |
TypeHelper.replaceAssociations(Object[] original,
Object[] target,
Type[] types,
SessionImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection)
Apply the
Type.replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SessionImplementor, java.lang.Object, java.util.Map) operation across a series of values, as long as the corresponding
Type is an association. |
Object |
ArrayType.replaceElements(Object original,
Object target,
Object owner,
Map copyCache,
SessionImplementor session) |
Object |
CustomCollectionType.replaceElements(Object original,
Object target,
Object owner,
Map copyCache,
SessionImplementor session) |
Object |
MapType.replaceElements(Object original,
Object target,
Object owner,
Map copyCache,
SessionImplementor session) |
Object |
CollectionType.replaceElements(Object original,
Object target,
Object owner,
Map copyCache,
SessionImplementor session)
Replace the elements of a collection with the elements of another collection.
|
Object |
ComponentType.resolve(Object value,
SessionImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.resolve(Object value,
SessionImplementor session,
Object owner) |
Object |
EntityType.resolve(Object value,
SessionImplementor session,
Object owner)
Resolve an identifier or unique key value
|
Object |
AbstractType.resolve(Object value,
SessionImplementor session,
Object owner) |
Object |
AnyType.resolve(Object value,
SessionImplementor session,
Object owner) |
Object |
CollectionType.resolve(Object value,
SessionImplementor session,
Object owner) |
Object |
Type.resolve(Object value,
SessionImplementor session,
Object owner)
The second phase of 2-phase loading.
|
protected Object |
EntityType.resolveIdentifier(Serializable id,
SessionImplementor session)
Resolve an identifier via a load.
|
Date |
TimestampType.seed(SessionImplementor session) |
byte[] |
BinaryType.seed(SessionImplementor session) |
Calendar |
CalendarType.seed(SessionImplementor session) |
Integer |
IntegerType.seed(SessionImplementor session) |
Long |
LongType.seed(SessionImplementor session) |
T |
VersionType.seed(SessionImplementor session)
Generate an initial version.
|
Object |
CustomType.seed(SessionImplementor session) |
Short |
ShortType.seed(SessionImplementor session) |
Object |
AbstractBynaryType.seed(SessionImplementor session)
Deprecated.
|
Date |
DbTimestampType.seed(SessionImplementor session) |
Byte |
ByteType.seed(SessionImplementor session) |
Object |
ComponentType.semiResolve(Object value,
SessionImplementor session,
Object owner) |
Object |
AbstractStandardBasicType.semiResolve(Object value,
SessionImplementor session,
Object owner) |
Object |
AbstractType.semiResolve(Object value,
SessionImplementor session,
Object owner) |
Object |
AnyType.semiResolve(Object value,
SessionImplementor session,
Object owner) |
Object |
CollectionType.semiResolve(Object value,
SessionImplementor session,
Object owner) |
Object |
Type.semiResolve(Object value,
SessionImplementor session,
Object owner)
Given a hydrated, but unresolved value, return a value that may be used to reconstruct property-ref
associations.
|
protected void |
ByteArrayBlobType.set(PreparedStatement st,
Object value,
int index,
SessionImplementor session)
Deprecated.
|
protected abstract void |
AbstractLobType.set(PreparedStatement st,
Object value,
int index,
SessionImplementor session)
Deprecated.
|
void |
AbstractStandardBasicType.set(PreparedStatement st,
T value,
int index,
SessionImplementor session) |
void |
SingleColumnType.set(PreparedStatement st,
T value,
int index,
SessionImplementor session)
Set a parameter value without worrying about the possibility of null
values.
|
PersistentCollection |
ArrayType.wrap(SessionImplementor session,
Object array) |
PersistentCollection |
SetType.wrap(SessionImplementor session,
Object collection) |
PersistentCollection |
CustomCollectionType.wrap(SessionImplementor session,
Object collection) |
PersistentCollection |
BagType.wrap(SessionImplementor session,
Object collection) |
PersistentCollection |
MapType.wrap(SessionImplementor session,
Object collection) |
PersistentCollection |
SortedSetType.wrap(SessionImplementor session,
Object collection) |
PersistentCollection |
SortedMapType.wrap(SessionImplementor session,
Object collection) |
abstract PersistentCollection |
CollectionType.wrap(SessionImplementor session,
Object collection)
Wrap the naked collection instance in a wrapper, or instantiate a
holder.
|
PersistentCollection |
IdentifierBagType.wrap(SessionImplementor session,
Object collection) |
PersistentCollection |
ListType.wrap(SessionImplementor session,
Object collection) |
Modifier and Type | Method and Description |
---|---|
Object |
CompositeUserType.assemble(Serializable cached,
SessionImplementor session,
Object owner)
Reconstruct an object from the cacheable representation.
|
Serializable |
CompositeUserType.disassemble(Object value,
SessionImplementor session)
Transform the object into its cacheable representation.
|
PersistentCollection |
UserCollectionType.instantiate(SessionImplementor session,
CollectionPersister persister)
Instantiate an uninitialized instance of the collection wrapper
|
Object |
UserVersionType.next(Object current,
SessionImplementor session)
Increment the version.
|
Object |
UserType.nullSafeGet(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner)
Retrieve an instance of the mapped class from a JDBC resultset.
|
Object |
CompositeUserType.nullSafeGet(ResultSet rs,
String[] names,
SessionImplementor session,
Object owner)
Retrieve an instance of the mapped class from a JDBC resultset.
|
void |
UserType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SessionImplementor session)
Write an instance of the mapped class to a prepared statement.
|
void |
CompositeUserType.nullSafeSet(PreparedStatement st,
Object value,
int index,
SessionImplementor session)
Write an instance of the mapped class to a prepared statement.
|
Object |
CompositeUserType.replace(Object original,
Object target,
SessionImplementor session,
Object owner)
During merge, replace the existing (target) value in the entity we are merging to
with a new (original) value from the detached entity we are merging.
|
Object |
UserCollectionType.replaceElements(Object original,
Object target,
CollectionPersister persister,
Object owner,
Map copyCache,
SessionImplementor session)
Replace the elements of a collection with the elements of another collection
|
Object |
UserVersionType.seed(SessionImplementor session)
Generate an initial version.
|
PersistentCollection |
UserCollectionType.wrap(SessionImplementor session,
Object collection)
Wrap an instance of a collection
|
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.