Package | Description |
---|---|
javax.persistence.spi |
SPI for Jakarta Persistence providers
|
org.hibernate.jpa.internal.util |
Modifier and Type | Method and Description |
---|---|
LoadState |
ProviderUtil.isLoaded(Object entity)
If the provider determines that the entity has been provided
by itself and that the state of all attributes for which
FetchType.EAGER has been specified have been loaded, this
method returns LoadState.LOADED . |
LoadState |
ProviderUtil.isLoadedWithoutReference(Object entity,
String attributeName)
If the provider determines that the entity has been provided
by itself and that the state of the specified attribute has
been loaded, this method returns
LoadState.LOADED . |
LoadState |
ProviderUtil.isLoadedWithReference(Object entity,
String attributeName)
If the provider determines that the entity has been provided
by itself and that the state of the specified attribute has
been loaded, this method returns
LoadState.LOADED . |
static LoadState |
LoadState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadState[] |
LoadState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static LoadState |
PersistenceUtilHelper.isLoaded(Object reference)
Determine if the given object reference represents loaded state.
|
static LoadState |
PersistenceUtilHelper.isLoadedWithoutReference(Object entity,
String attributeName,
PersistenceUtilHelper.MetadataCache cache)
Is the given attribute (by name) loaded? This form must take care to not access the attribute (trigger
initialization).
|
static LoadState |
PersistenceUtilHelper.isLoadedWithReference(Object entity,
String attributeName,
PersistenceUtilHelper.MetadataCache cache)
Is the given attribute (by name) loaded? This form must take care to not access the attribute (trigger
initialization).
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.