Package | Description |
---|---|
org.hibernate.engine.internal |
Support for many of the internal workings of Hibernate.
|
org.hibernate.engine.spi |
Modifier and Type | Field and Description |
---|---|
protected static AbstractEntityEntry.EnumState<Status> |
AbstractEntityEntry.EnumState.PREVIOUS_STATUS |
protected static AbstractEntityEntry.EnumState<Status> |
AbstractEntityEntry.EnumState.STATUS |
Modifier and Type | Method and Description |
---|---|
Status |
AbstractEntityEntry.getStatus() |
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) |
EntityEntry |
StatefulPersistenceContext.addEntry(Object entity,
Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement) |
EntityEntry |
StatefulPersistenceContext.addReferenceEntry(Object entity,
Status status) |
EntityEntry |
ImmutableEntityEntryFactory.createEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
PersistenceContext persistenceContext) |
EntityEntry |
MutableEntityEntryFactory.createEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
PersistenceContext persistenceContext) |
void |
StatefulPersistenceContext.setEntryStatus(EntityEntry entry,
Status status) |
void |
AbstractEntityEntry.setStatus(Status status) |
Constructor and Description |
---|
AbstractEntityEntry(SessionFactoryImplementor factory,
String entityName,
Serializable id,
Status status,
Status previousStatus,
Object[] loadedState,
Object[] deletedState,
Object version,
LockMode lockMode,
boolean existsInDatabase,
boolean isBeingReplicated,
PersistenceContext persistenceContext)
This for is used during custom deserialization handling
|
AbstractEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
PersistenceContext persistenceContext) |
AbstractEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
EntityMode entityMode,
String tenantId,
boolean disableVersionIncrement,
PersistenceContext persistenceContext)
Deprecated.
the tenantId and entityMode parameters where removed: this constructor accepts but ignores them.
Use the other constructor!
|
ImmutableEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
PersistenceContext persistenceContext) |
ImmutableEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
EntityMode entityMode,
String tenantId,
boolean disableVersionIncrement,
PersistenceContext persistenceContext)
Deprecated.
the tenantId and entityMode parameters where removed: this constructor accepts but ignores them.
Use the other constructor!
|
MutableEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
PersistenceContext persistenceContext) |
MutableEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
EntityMode entityMode,
String tenantId,
boolean disableVersionIncrement,
PersistenceContext persistenceContext)
Deprecated.
the tenantId and entityMode parameters where removed: this constructor accepts but ignores them.
Use the other constructor!
|
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)
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)
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,
PersistenceContext persistenceContext)
Creates
EntityEntry . |
void |
PersistenceContext.setEntryStatus(EntityEntry entry,
Status status)
Set the status of an entry
|
void |
EntityEntry.setStatus(Status status) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.