Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-293 OpenJPA should not require managed type enhancement
  3. OPENJPA-297

Lazy loading must be ignored in certain unenhanced cases

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • UnenhancedClasses
    • None

    Description

      When using unenhanced classes, sometimes OpenJPA is unable to intercept field accesses, and therefore unable to do lazy loading of those fields prior to access. In these cases, we should eagerly load data that was marked as lazy.

      This will happen in the following scenarios:

      • all instances (user-created and OpenJPA-created) when using field access and redefinition is not available
      • user-created instances (new instances) when using property access and redefinition is not available

      Attachments

        Activity

          People

            Unassigned Unassigned
            pcl Patrick Linskey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: