mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
FIX: disableLazyLoading was not checked correctly (#1528)
This commit is contained in:
committed by
Rob Bygrave
parent
0f9c98964e
commit
13a5511318
@@ -54,7 +54,7 @@ class AssocOneHelpRefInherit extends AssocOneHelp {
|
||||
// for inheritance hierarchy create the correct type for this row...
|
||||
boolean disableLazyLoading = ctx.isDisableLazyLoading();
|
||||
Object ref = desc.contextRef(pc, ctx.isReadOnly(), disableLazyLoading, id);
|
||||
if (disableLazyLoading) {
|
||||
if (!disableLazyLoading) {
|
||||
ctx.register(property.name, ((EntityBean) ref)._ebean_getIntercept());
|
||||
}
|
||||
return ref;
|
||||
|
||||
Reference in New Issue
Block a user