Uploaded image for project: 'Hibernate ORM'
  1. HHH-11986

@LazyGroup is ignored on LazyToOne association with 'mappedBy'

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.8
    • Fix Version/s: 5.2.13, 5.1.13
    • Component/s: hibernate-core
    • Environment:
      originally noticed in hibernate 5.1.8 with postgresql
      reproduced with hibernate 5 git master at 2017-07-30 on h2-DB

      Description

      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

        Attachments

          Issue links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified