Package | Description |
---|---|
org.hibernate.engine.internal | |
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)
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.
|
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 © 2018 JBoss by Red Hat. All rights reserved.