You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/07/02 21:08:00 UTC

[jira] [Commented] (OPENJPA-2704) The openjpa.jdbc.Schema no longer overrides orm.xml default

    [ https://issues.apache.org/jira/browse/OPENJPA-2704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16530441#comment-16530441 ] 

ASF subversion and git services commented on OPENJPA-2704:
----------------------------------------------------------

Commit 1834900 from dazeydev@apache.org in branch 'openjpa/trunk'
[ https://svn.apache.org/r1834900 ]

OPENJPA-2704: The openjpa.jdbc.Schema no longer overrides orm.xml default

> The openjpa.jdbc.Schema no longer overrides orm.xml default
> -----------------------------------------------------------
>
>                 Key: OPENJPA-2704
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2704
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jpa
>    Affects Versions: 2.2.2
>            Reporter: Will Dazey
>            Priority: Major
>             Fix For: 2.2.3
>
>         Attachments: OPENJPA-2704-2.2.x.patch, OPENJPA-2704-trunk.patch
>
>
>  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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)