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

The openjpa.jdbc.Schema no longer overrides orm.xml default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.2
    • 2.2.3, 2.4.4, 3.1.0
    • jpa
    • None

    Description

      When both the orm.xml default schema and the 'openjpa.jdbc.Schema' property are set, OpenJPA now prefers the orm.xml default over the property. In the past (2.1.x) the persistence property was preferred over the orm.xml configuration, but that seems to have changed with https://issues.apache.org/jira/browse/OPENJPA-2494. I believe that it makes more sense to have the persistence property overrule the orm.xml mapping file, not the other way around, so I am creating this JIRA to switch the behavior back.

      Attachments

        1. OPENJPA-2704-2.2.x.patch
          7 kB
          Will Dazey
        2. OPENJPA-2704-trunk.patch
          8 kB
          Will Dazey

        Activity

          People

            dazeydev Will Dazey
            dazeydev Will Dazey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: