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

Lazy properties are not updated if not all lazy properties (e.g. collections) are initialized

    Details

    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      This issue is basically identical to HHH-10866 Closed (which is marked as duplicate and closed, but in my humble opinion HHH-10866 Closed is different from HHH-10865 Closed ), and in fact on 5.2.2 my testcase fails, although it was fixed in 5.2.1.

      I could not upload my test-case to HHH-10866 Closed , so I open this issue.

      As far as I understand it, HHH-10866 Closed describes it very well: Update only occurs if all lazy properties are initialized, including e.g. collections.
      This is what my self-contained test case shows: The lazy property longText is not updated unless the OneToMany collection children is loaded.

        Attachments

          Issue links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: