public interface LazyPropertyInitializer
Modifier and Type | Interface and Description |
---|---|
static interface |
LazyPropertyInitializer.InterceptorImplementor
Deprecated.
Prefer the form of these methods defined on
BytecodeLazyAttributeInterceptor instead |
Modifier and Type | Field and Description |
---|---|
static Serializable |
UNFETCHED_PROPERTY
Marker value for uninitialized properties.
|
Modifier and Type | Method and Description |
---|---|
Object |
initializeLazyProperty(String fieldName,
Object entity,
SharedSessionContractImplementor session)
Initialize the property, and return its new value.
|
static final Serializable UNFETCHED_PROPERTY
Object initializeLazyProperty(String fieldName, Object entity, SharedSessionContractImplementor session)
fieldName
- The name of the field being initializedentity
- The entity on which the initialization is occurringsession
- The session from which the initialization originated.Copyright © 2020 JBoss by Red Hat. All rights reserved.