Package | Description |
---|---|
org.hibernate.action.internal | |
org.hibernate.ejb.event | |
org.hibernate.engine.internal | |
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.
|
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 |
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 |
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 |
EntityEntryContext.EntityEntryCrossRef.getEntityEntry() |
EntityEntry |
EntityEntryContext.getEntityEntry(Object entity) |
EntityEntry |
StatefulPersistenceContext.getEntry(Object entity)
Retrieve the EntityEntry representation of the given entity.
|
EntityEntry |
EntityEntryContext.removeEntityEntry(Object entity) |
EntityEntry |
StatefulPersistenceContext.removeEntry(Object entity)
Remove an entity entry from the session cache
|
Modifier and Type | Method and Description |
---|---|
void |
EntityEntryContext.addEntityEntry(Object entity,
EntityEntry entityEntry) |
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.
|
static EntityEntry |
EntityEntry.deserialize(ObjectInputStream ois,
PersistenceContext persistenceContext)
Custom deserialization routine used during deserialization of a
Session/PersistenceContext for increased performance.
|
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) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.