Package | Description |
---|---|
org.hibernate.action.internal |
Internals for action processing.
|
org.hibernate.engine.internal |
Support for many of the internal workings of Hibernate.
|
org.hibernate.engine.spi | |
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.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.jpa.event.internal.core | |
org.hibernate.persister.entity |
This package abstracts persistence mechanisms for
entities, and defines the Hibernate runtime
metamodel.
|
Constructor and Description |
---|
EntityIncrementVersionProcess(Object object,
EntityEntry entry)
Constructs an EntityIncrementVersionProcess for the given entity.
|
EntityVerifyVersionProcess(Object object,
EntityEntry entry)
Constructs an EntityVerifyVersionProcess
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEntityEntry
A base implementation of EntityEntry
|
class |
ImmutableEntityEntry
An EntityEntry implementation for immutable entities.
|
class |
MutableEntityEntry
An EntityEntry implementation for mutable entities.
|
Modifier and Type | Method and Description |
---|---|
EntityEntry |
StatefulPersistenceContext.addEntity(Object entity,
Status status,
Object[] loadedState,
EntityKey entityKey,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
boolean lazyPropertiesAreUnfetched) |
EntityEntry |
StatefulPersistenceContext.addEntry(Object entity,
Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
boolean lazyPropertiesAreUnfetched) |
EntityEntry |
StatefulPersistenceContext.addReferenceEntry(Object entity,
Status status) |
EntityEntry |
MutableEntityEntryFactory.createEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
boolean lazyPropertiesAreUnfetched,
PersistenceContext persistenceContext) |
EntityEntry |
ImmutableEntityEntryFactory.createEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
boolean lazyPropertiesAreUnfetched,
PersistenceContext persistenceContext) |
static EntityEntry |
MutableEntityEntry.deserialize(ObjectInputStream ois,
PersistenceContext persistenceContext)
Custom deserialization routine used during deserialization of a
Session/PersistenceContext for increased performance.
|
static EntityEntry |
ImmutableEntityEntry.deserialize(ObjectInputStream ois,
PersistenceContext persistenceContext)
Custom deserialization routine used during deserialization of a
Session/PersistenceContext for increased performance.
|
EntityEntry |
EntityEntryContext.EntityEntryCrossRef.getEntityEntry()
The associated EntityEntry
|
EntityEntry |
EntityEntryContext.getEntityEntry(Object entity)
Retrieve the associated EntityEntry for the entity
|
EntityEntry |
StatefulPersistenceContext.getEntry(Object entity) |
EntityEntry |
EntityEntryContext.removeEntityEntry(Object entity)
Remove an entity from the context, returning the EntityEntry which was associated with it
|
EntityEntry |
StatefulPersistenceContext.removeEntry(Object entity) |
Modifier and Type | Method and Description |
---|---|
void |
EntityEntryContext.addEntityEntry(Object entity,
EntityEntry entityEntry)
Adds the entity and entry to this context, associating them together
|
void |
StatefulPersistenceContext.setEntryStatus(EntityEntry entry,
Status status) |
Modifier and Type | Method and Description |
---|---|
EntityEntry |
ManagedEntity.$$_hibernate_getEntityEntry()
Provides access to the associated EntityEntry.
|
EntityEntry |
PersistenceContext.addEntity(Object entity,
Status status,
Object[] loadedState,
EntityKey entityKey,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
boolean lazyPropertiesAreUnfetched)
Adds an entity to the internal caches.
|
EntityEntry |
PersistenceContext.addEntry(Object entity,
Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
boolean lazyPropertiesAreUnfetched)
Generates an appropriate EntityEntry instance and adds it
to the event source's internal caches.
|
EntityEntry |
EntityEntryFactory.createEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
boolean lazyPropertiesAreUnfetched,
PersistenceContext persistenceContext)
Creates
EntityEntry . |
EntityEntry |
PersistenceContext.getEntry(Object entity)
Retrieve the
EntityEntry representation of the given entity. |
EntityEntry |
PersistenceContext.removeEntry(Object entity)
Remove an entity entry from the session cache
|
Modifier and Type | Method and Description |
---|---|
void |
ManagedEntity.$$_hibernate_setEntityEntry(EntityEntry entityEntry)
Injects the EntityEntry associated with this entity instance.
|
void |
PersistenceContext.setEntryStatus(EntityEntry entry,
Status status)
Set the status of an entry
|
void |
ActionQueue.unScheduleDeletion(EntityEntry entry,
Object rescuedEntity) |
Modifier and Type | Method and Description |
---|---|
protected EntityEntry |
AbstractReassociateEventListener.reassociate(AbstractEvent event,
Object object,
Serializable id,
EntityPersister persister)
Associates a given entity (either transient or associated with another session) to
the given session.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultDeleteEventListener.cascadeBeforeDelete(EventSource session,
EntityPersister persister,
Object entity,
EntityEntry entityEntry,
Set transientEntities) |
protected void |
DefaultDeleteEventListener.deleteEntity(EventSource session,
Object entity,
EntityEntry entityEntry,
boolean isCascadeDeleteEnabled,
boolean isOrphanRemovalBeforeUpdates,
EntityPersister persister,
Set transientEntities)
Perform the entity deletion.
|
protected AbstractSaveEventListener.EntityState |
AbstractSaveEventListener.getEntityState(Object entity,
String entityName,
EntityEntry entry,
SessionImplementor source)
Determine whether the entity is persistent, detached, or transient
|
protected boolean |
DefaultFlushEntityEventListener.invokeInterceptor(SessionImplementor session,
Object entity,
EntityEntry entry,
Object[] values,
EntityPersister persister) |
protected void |
AbstractLockUpgradeEventListener.upgradeLock(Object object,
EntityEntry entry,
LockOptions lockOptions,
EventSource source)
Performs a pessimistic lock upgrade on a given entity, if needed.
|
Modifier and Type | Method and Description |
---|---|
EntityEntry |
FlushEntityEvent.getEntityEntry() |
EntityEntry |
SaveOrUpdateEvent.getEntry() |
Modifier and Type | Method and Description |
---|---|
void |
EventSource.forceFlush(EntityEntry e)
Force an immediate flush
|
void |
SaveOrUpdateEvent.setEntry(EntityEntry entry) |
Constructor and Description |
---|
FlushEntityEvent(EventSource source,
Object entity,
EntityEntry entry) |
Modifier and Type | Method and Description |
---|---|
void |
SessionImpl.forceFlush(EntityEntry entityEntry) |
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 Serializable |
AbstractEntityPersister.getCollectionKey(CollectionPersister persister,
Object owner,
EntityEntry ownerEntry,
SessionImplementor session) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.