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

Lazy collections ignore filters when allowLoadOutsideTransaction is true

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects versions: 5.2.2
    • Fix versions: None
    • Components: hibernate-core
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

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

      Description

      When property hibernate.enable_lazy_load_no_trans = true and a proxy for a lazy collection is initialized in a session with filters which may affect its loading, when loaded outside that session filters won't be applied.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: