HHH-10551 - Enable lazy loading for attributes of bytecode enhanced entities
This commit is contained in:
parent
bf4e92fd0a
commit
87707e218b
|
@ -201,7 +201,7 @@ public class EntityMetamodel implements Serializable {
|
|||
sessionFactory,
|
||||
i,
|
||||
prop,
|
||||
instrumentationMetadata.isInstrumented()
|
||||
instrumentationMetadata.isInstrumented() || lazyLoadingBytecodeEnhanced
|
||||
);
|
||||
}
|
||||
else {
|
||||
|
@ -210,7 +210,7 @@ public class EntityMetamodel implements Serializable {
|
|||
sessionFactory,
|
||||
i,
|
||||
prop,
|
||||
instrumentationMetadata.isInstrumented()
|
||||
instrumentationMetadata.isInstrumented() || lazyLoadingBytecodeEnhanced
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue