| Modifier and Type | Field and Description |
|---|---|
| private final Object | |
| private final EntityPersister |
| Access | Constructor and Description |
|---|---|
| public | ReferenceCacheEntryImpl(Object
The reference entity instance reference, EntityPersister The specific subclass persister subclassPersister)Constructs a ReferenceCacheEntryImpl |
| Modifier and Type | Method and Description |
|---|---|
| public Serializable[] | getDisassembledState()
Implements org. |
| public Object | |
| public String | getSubclass()
Implements org. |
| public EntityPersister | |
| public Object | getVersion()
Implements org. |
| public boolean | isReferenceEntry()
Implements org. |
| reference | back to summary |
|---|---|
| private final Object reference | |
| subclassPersister | back to summary |
|---|---|
| private final EntityPersister subclassPersister | |
| ReferenceCacheEntryImpl | back to summary |
|---|---|
| public ReferenceCacheEntryImpl(Object reference, EntityPersister subclassPersister) Constructs a ReferenceCacheEntryImpl
| |
| getDisassembledState | back to summary |
|---|---|
| public Serializable[] getDisassembledState() Implements org. Doc from org. Get the underlying disassembled state todo : this was added to support initializing an entity's EntityEntry snapshot during reattach; this should be refactored to instead expose a method to assemble an EntityEntry based on this state for return.
| |
| getReference | back to summary |
|---|---|
| public Object getReference() Provides access to the stored reference.
| |
| getSubclass | back to summary |
|---|---|
| public String getSubclass() Implements org. Doc from org. Hibernate stores all entries pertaining to a given entity hierarchy in a single region. This attribute tells us the specific entity type represented by the cached data. | |
| getSubclassPersister | back to summary |
|---|---|
| public EntityPersister getSubclassPersister() | |
| getVersion | back to summary |
|---|---|
| public Object getVersion() Implements org. Doc from org. Retrieves the version (optimistic locking) associated with this cache entry. | |
| isReferenceEntry | back to summary |
|---|---|
| public boolean isReferenceEntry() Implements org. Doc from org. Does this entry represent a direct entity reference (rather than disassembled state)?
| |