Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-19906

[GSS](7.3.z) HHH-12268 - LazyInitializationException thrown from lazy collection when batch fetching enabled and owning entity refreshed with lock

    XMLWordPrintable

Details

    Description

      When using batch fetching (e.g. hibernate.default_batch_fetch_size=8), collections may become incorrectly detached from the session and LazyInitializationException may be thrown when performing a refresh with lock.

      This issue occurs when utilizing eitherĀ EntityManager or HibernateĀ Session.

      Attachments

        Issue Links

          Activity

            People

              gbadner@redhat.com Gail Badner (Inactive)
              rhn-support-sfikes Stephen Fikes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: