HHH-10551 - Enable lazy loading for attributes of bytecode enhanced entities

This commit is contained in:
barreiro 2016-04-01 05:22:31 +01:00 committed by Gail Badner
parent bf4e92fd0a
commit 87707e218b
1 changed files with 2 additions and 2 deletions

View File

@ -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
);
}