public class MapLazyInitializer extends AbstractLazyInitializer implements Serializable
| Modifier and Type | Method and Description |
|---|---|
Map |
getMap() |
Class |
getPersistentClass()
Get the actual class of the entity.
|
protected String |
getSessionFactoryUuid()
Get the session factory UUID.
|
protected boolean |
isAllowLoadOutsideTransaction()
Get whether the proxy can load data even
if it's not attached to a session with an ongoing transaction.
|
protected void |
prepareForPossibleLoadingOutsideTransaction()
Initialize internal state based on the currently attached session,
in order to be ready to load data even after the proxy is detached from the session.
|
getEntityName, getIdentifier, getImplementation, getImplementation, getInternalIdentifier, getSession, getTarget, initialize, initializeWithoutLoadIfPossible, isConnectedToSession, isReadOnly, isReadOnlyBeforeAttachedToSession, isReadOnlySettingAvailable, isUninitialized, isUnwrap, permissiveInitialization, setIdentifier, setImplementation, setReadOnly, setSession, setUnwrap, unsetSessionpublic Map getMap()
public Class getPersistentClass()
LazyInitializerLazyInitializer.getEntityName() should be used instead.getPersistentClass in interface LazyInitializerprotected void prepareForPossibleLoadingOutsideTransaction()
AbstractLazyInitializerSessionFactoryOptions.isInitializeLazyStateOutsideTransactionsEnabled() is true.prepareForPossibleLoadingOutsideTransaction in class AbstractLazyInitializerprotected boolean isAllowLoadOutsideTransaction()
AbstractLazyInitializerAbstractLazyInitializer.prepareForPossibleLoadingOutsideTransaction().isAllowLoadOutsideTransaction in class AbstractLazyInitializertrue if out-of-transaction loads are allowed, false otherwise.protected String getSessionFactoryUuid()
AbstractLazyInitializerAbstractLazyInitializer.prepareForPossibleLoadingOutsideTransaction().getSessionFactoryUuid in class AbstractLazyInitializerCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.