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

[GSS](7.2.z) HHH-13633 HHH-13634 HHH-13640 HHH-13653 Enhancement-as-proxy initialization bugs

    XMLWordPrintable

Details

    Description

      The following describes HHH-13633.

      A join fetched collection is not initialized, and Hibernate executes an extra query to initialize a to-one association when the following are true:

      • enhancement as proxy is enabled (hibernate.bytecode.allow_enhancement_as_proxy=true)
      • a stateless session is used
      • results from a query involving an entity with a join fetched collection (that is normally lazy) is scrolled.
      • join fetched collection has a to-one association with an entity that is an inheritance hierarchy.

      HHH-13640 is related; it affects both Session and StatelessSession.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: