Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1227

SQL generation error when using data cache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.1
    • 1.3.0, 2.0.0-M3
    • datacache, jdbc, sql
    • None
    • Patch Available

    Description

      When the DataCacheStoreManager loads an object whose (table join strategy) superclass contains an eager to-many field, and this is the only field selected in the superclass, and when one or more fields are selected in the subclass, openjpa fails to create a join between the subclass and superclass.

      Attachments

        1. openjpa_superclass_join.patch
          1 kB
          David Minor
        2. test-abstract-hierarchy-with-cache.patch
          9 kB
          David Minor

        Activity

          People

            drwoods Donald Woods
            david minor David Minor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: