private static class Persistence.PersistenceUtilImpl extends java.lang.Object implements PersistenceUtil
| Modifier | Constructor and Description |
|---|---|
private |
PersistenceUtilImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLoaded(java.lang.Object entity)
Determine the load state of an entity.
|
boolean |
isLoaded(java.lang.Object entity,
java.lang.String attributeName)
Determine the load state of a given persistent attribute.
|
public boolean isLoaded(java.lang.Object entity,
java.lang.String attributeName)
PersistenceUtilisLoaded in interface PersistenceUtilentity - entity containing the attributeattributeName - name of attribute whose load state is
to be determinedpublic boolean isLoaded(java.lang.Object entity)
PersistenceUtilFetchType.EAGER has been specified have been loaded.
The isLoaded(Object, String) method should be used to
determine the load state of an attribute.
Not doing so might lead to unintended loading of state.
isLoaded in interface PersistenceUtilentity - whose load state is to be determined