@LazyGroup is ignored on LazyToOne association with 'mappedBy'
Activity
Show:
Former user March 9, 2018 at 10:00 PM
Fixed in 5.1 branch as well.
Former user November 9, 2017 at 4:57 AM
Fixed in master.
Jan-Oliver Lustig September 22, 2017 at 3:07 PM
A working solution is calling
binder.setLazyGroup(lazyGroupAnnotation.value())
in OneToOneSecondPass.doSecondPass() if the Annotation is present on the Property.
Fixed
Details
Details
Assignee
Former user
Former user(Deactivated)Reporter
Jan-Oliver Lustig
Jan-Oliver LustigLabels
Original estimate
Time tracking
No time logged2h remaining
Components
Affects versions
Priority
Created September 14, 2017 at 7:39 AM
Updated March 9, 2018 at 10:00 PM
Resolved March 9, 2018 at 9:59 PM
Given is a bytecodeenhanced Entity having a OneToOne LazyToOne association A with mappedBy.
After annotating A with @LazyGroup("myFancyGroup") and recompiling, it is still loaded together with other lazy attributes or associations in the default lazy group. So it seems the Annotation is ignored altogether.
Testcase and possible solution will be attached soon