| Package | Description | 
|---|---|
| org.hibernate.engine.internal | 
 Support for many of the internal workings of Hibernate. 
 | 
| org.hibernate.engine.spi | 
| 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)  | 
void | 
StatefulPersistenceContext.setEntryStatus(EntityEntry entry,
              Status status)  | 
| Modifier and Type | Method and Description | 
|---|---|
Status | 
EntityEntry.getStatus()  | 
static Status | 
Status.valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Status[] | 
Status.values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
| 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 | 
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. 
 | 
void | 
PersistenceContext.setEntryStatus(EntityEntry entry,
              Status status)
Set the status of an entry 
 | 
void | 
EntityEntry.setStatus(Status status)  | 
| Constructor and Description | 
|---|
EntityEntry(Status status,
           Object[] loadedState,
           Object rowId,
           Serializable id,
           Object version,
           LockMode lockMode,
           boolean existsInDatabase,
           EntityPersister persister,
           boolean disableVersionIncrement,
           boolean lazyPropertiesAreUnfetched,
           PersistenceContext persistenceContext)  | 
EntityEntry(Status status,
           Object[] loadedState,
           Object rowId,
           Serializable id,
           Object version,
           LockMode lockMode,
           boolean existsInDatabase,
           EntityPersister persister,
           EntityMode entityMode,
           String tenantId,
           boolean disableVersionIncrement,
           boolean lazyPropertiesAreUnfetched,
           PersistenceContext persistenceContext)
Deprecated. 
 
the tenantId and entityMode parameters where removed: this constructor accepts but ignores them.
 Use the other constructor! 
 | 
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.