public final class EntityEntry:
Internal identity-map entry and scalar snapshot for one SQL entity.
The entry stores no provider connection and is owned exclusively by one non-thread-safe EntityManager.
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | entityentity as Object |
Tracked entity instance. |
| public readonly property | mappingmapping as SQLMappedEntity |
Immutable physical mapping resolved by the factory. |
| public property | statestate as EntityTrackingState |
Current unit-of-work state. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | EntityEntryEntityEntry(
entity as Object,
mapping as SQLMappedEntity,
state as EntityTrackingState
): |
Creates one tracking entry. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | acceptChangesacceptChanges() as Void: |
Replaces the snapshot after a successful provider synchronization. |
| public | changedPropertieschangedProperties() as ArrayList<SQLPropertyMapping>: |
Returns changed persistent properties since the last successful flush. |
| public | identityValueidentityValue() as Object: |
Returns the current boxed identity. |