Example usage for Java org.hibernate.proxy LazyInitializer fields, constructors, methods, implement or subclass
The text is from its open source code.
String | getEntityName() The entity-name of the entity our owning proxy represents. |
Serializable | getIdentifier() Retrieve the identifier value for the entity our owning proxy represents. |
Object | getImplementation() Return the underlying persistent object, initializing if necessary |
Class | getPersistentClass() Get the actual class of the entity. |
SharedSessionContractImplementor | getSession() Get the session to which this proxy is associated, or null if it is not attached. |
void | initialize() Initialize the proxy, fetching the target entity if necessary. |
boolean | isReadOnlySettingAvailable() Is the proxy's read-only/modifiable setting available? |
boolean | isUninitialized() Is the proxy uninitialzed? |
void | setImplementation(Object target) Initialize the proxy manually by injecting its target. |
void | setSession(SharedSessionContractImplementor session) Associate the proxy with the given session. |
void | unsetSession() Unset this initializer's reference to session. |