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
originally noticed in hibernate 5.1.8 with postgresql
reproduced with hibernate 5 git master at 2017-07-30 on h2-DB