| Modifier and Type | Field and Description |
|---|---|
| private final transient PersistenceUtilHelper. | |
| private static final Logger | |
| private final SessionFactoryImplementor | sessionFactory
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Access | Constructor and Description |
|---|---|
| public | PersistenceUnitUtilImpl(SessionFactoryImplementor sessionFactory)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public Object | getIdentifier(Object
entity instance entity)Implements javax. |
| private Object | |
| public boolean | isLoaded(Object
entity instance containing the attribute entity, String name of attribute whose load state is
to be determined attributeName)Implements javax. |
| public boolean | isLoaded(Object
entity instance whose load state is to be determined entity)Implements javax. |
| cache | back to summary |
|---|---|
| private final transient PersistenceUtilHelper. | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| sessionFactory | back to summary |
|---|---|
| private final SessionFactoryImplementor sessionFactory
Deprecated as a consequence of | |
| PersistenceUnitUtilImpl | back to summary |
|---|---|
| public PersistenceUnitUtilImpl(SessionFactoryImplementor sessionFactory)
Deprecated as a consequence of | |
| getIdentifier | back to summary |
|---|---|
| public Object getIdentifier(Object entity) Implements javax. Doc from javax. Return the id of the entity. A generated id is not guaranteed to be available until after the database insert has occurred. Returns null if the entity does not yet have an id. | |
| getIdentifierFromPersister | back to summary |
|---|---|
| private Object getIdentifierFromPersister(Object entity) | |
| isLoaded | back to summary |
|---|---|
| public boolean isLoaded(Object entity, String attributeName) Implements javax. Doc from javax. Determine the load state of a given persistent attribute of an entity belonging to the persistence unit. | |
| isLoaded | back to summary |
|---|---|
| public boolean isLoaded(Object entity) Implements javax. Doc from javax. Determine the load state of an entity belonging to the
persistence unit. This method can be used to determine the
load state of an entity passed as a reference. An entity is
considered loaded if all attributes for which
The | |