| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final Class | |
| private final String | |
| private final Set | |
| private final LazyAttributesMetadata | |
| private final CompositeType |
| Access | Constructor and Description |
|---|---|
| protected | BytecodeEnhancementMetadataPojoImpl(String entityName, Class<T> entityClass, Set<String> identifierAttributeNames, CompositeType nonAggregatedCidMapper, boolean enhancedForLazyLoading, LazyAttributesMetadata lazyAttributesMetadata)
|
| enhancedForLazyLoading | back to summary |
|---|---|
| private final boolean enhancedForLazyLoading | |
| entityClass | back to summary |
|---|---|
| private final Class<T> entityClass | |
| entityName | back to summary |
|---|---|
| private final String entityName | |
| identifierAttributeNames | back to summary |
|---|---|
| private final Set<String> identifierAttributeNames | |
| lazyAttributesMetadata | back to summary |
|---|---|
| private final LazyAttributesMetadata lazyAttributesMetadata | |
| nonAggregatedCidMapper | back to summary |
|---|---|
| private final CompositeType nonAggregatedCidMapper | |
| BytecodeEnhancementMetadataPojoImpl | back to summary |
|---|---|
protected BytecodeEnhancementMetadataPojoImpl(String entityName, Class<T> entityClass, Set<String> identifierAttributeNames, CompositeType nonAggregatedCidMapper, boolean enhancedForLazyLoading, LazyAttributesMetadata lazyAttributesMetadata)
| |
| createEnhancedProxy | back to summary |
|---|---|
| public PersistentAttributeInterceptable createEnhancedProxy(EntityKey entityKey, boolean addEmptyEntry, SharedSessionContractImplementor session) Implements org. Doc from org. Create an "enhancement as proxy" instance for the given entity
| |
| extractInterceptor | back to summary |
|---|---|
| public LazyAttributeLoadingInterceptor extractInterceptor(Object entity) throws NotInstrumentedException Implements org. Doc from org. Deprecated as a consequence of Extract the field interceptor instance from the enhanced entity.
| |
| extractLazyInterceptor | back to summary |
|---|---|
| public BytecodeLazyAttributeInterceptor extractLazyInterceptor(Object entity) throws NotInstrumentedException Implements org. Deprecated as a consequence of
| |
| from | back to summary |
|---|---|
| public static BytecodeEnhancementMetadata from(PersistentClass persistentClass, Set<String> identifierAttributeNames, CompositeType nonAggregatedCidMapper, boolean collectionsInDefaultFetchGroupEnabled, PersisterCreationContext creationContext) Static constructor | |
| getEntityName | back to summary |
|---|---|
| public String getEntityName() Implements org. Doc from org. The name of the entity to which this metadata applies. | |
| getLazyAttributesMetadata | back to summary |
|---|---|
| public LazyAttributesMetadata getLazyAttributesMetadata() Implements org.
| |
| hasUnFetchedAttributes | back to summary |
|---|---|
| public boolean hasUnFetchedAttributes(Object entity) Implements org.
| |
| injectEnhancedEntityAsProxyInterceptor | back to summary |
|---|---|
| public void injectEnhancedEntityAsProxyInterceptor(Object entity, EntityKey entityKey, SharedSessionContractImplementor session) Implements org.
| |
| injectInterceptor | back to summary |
|---|---|
| public LazyAttributeLoadingInterceptor injectInterceptor(Object entity, Object identifier, SharedSessionContractImplementor session) Implements org. Doc from org. Deprecated as a consequence of Build and inject an interceptor instance into the enhanced entity.
| |
| injectInterceptor | back to summary |
|---|---|
| public void injectInterceptor(Object entity, PersistentAttributeInterceptor interceptor, SharedSessionContractImplementor session) Implements org. Deprecated as a consequence of
| |
| isAttributeLoaded | back to summary |
|---|---|
| public boolean isAttributeLoaded(Object entity, String attributeName) Implements org.
| |
| isEnhancedForLazyLoading | back to summary |
|---|---|
| public boolean isEnhancedForLazyLoading() Implements org. Doc from org. Has the entity class been bytecode enhanced for lazy loading?
| |