Package | Description |
---|---|
org.hibernate.action |
This package defines "actions" that are scheduled for
asycnchronous execution by the event listeners.
|
org.hibernate.ejb.event | |
org.hibernate.engine |
This package contains classes that are "shared" by other packages,
and implementations of some key algorithms.
|
org.hibernate.event |
This package defines an event framework for Hibernate.
|
org.hibernate.event.def |
This package defines a default set of event listeners that
implements the default behaviors of Hibernate.
|
org.hibernate.impl |
This package contains implementations of the
central Hibernate APIs, especially the
Hibernate session.
|
Constructor and Description |
---|
EntityIncrementVersionProcess(Object object,
EntityEntry entry) |
EntityVerifyVersionProcess(Object object,
EntityEntry entry) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
EJB3FlushEntityEventListener.invokeInterceptor(SessionImplementor session,
Object entity,
EntityEntry entry,
Object[] values,
EntityPersister persister) |
Modifier and Type | Method and Description |
---|---|
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 |
StatefulPersistenceContext.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 |
StatefulPersistenceContext.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 |
PersistenceContext.getEntry(Object entity)
Retrieve the EntityEntry representation of the given entity.
|
EntityEntry |
StatefulPersistenceContext.getEntry(Object entity)
Retreive the EntityEntry representation of the given entity.
|
EntityEntry |
PersistenceContext.removeEntry(Object entity)
Remove an entity entry from the session cache
|
EntityEntry |
StatefulPersistenceContext.removeEntry(Object entity)
Remove an entity entry from the session cache
|
Modifier and Type | Method and Description |
---|---|
void |
PersistenceContext.setEntryStatus(EntityEntry entry,
Status status)
Set the status of an entry
|
void |
StatefulPersistenceContext.setEntryStatus(EntityEntry entry,
Status status) |
void |
ActionQueue.unScheduleDeletion(EntityEntry entry,
Object rescuedEntity) |
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 |
---|---|
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,
EntityPersister persister,
Set transientEntities)
Perform the entity deletion.
|
protected int |
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 |
---|---|
void |
SessionImpl.forceFlush(EntityEntry entityEntry) |
Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved