[jira] [Commented] (OPENJPA-2494) A default Schema defined in a PU default (<persistence-unit-defaults>) in an orm.xml file is not being honored.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Commented] (OPENJPA-2494) A default Schema defined in a PU default (<persistence-unit-defaults>) in an orm.xml file is not being honored.

JIRA jira@apache.org

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

Will Dazey commented on OPENJPA-2494:
-------------------------------------

Opened https://issues.apache.org/jira/browse/OPENJPA-2704 to fix this issue

> A default Schema defined in a PU default (<persistence-unit-defaults>) in an orm.xml file is not being honored.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2494
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2494
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jpa
>    Affects Versions: 2.2.1.1, 2.2.3, 2.3.0, 2.4.0
>            Reporter: Heath Thomann
>            Assignee: Heath Thomann
>             Fix For: 2.2.3, 2.4.0
>
>
> Take the following entry in an orm.xml file:
> <persistence-unit-metadata>
> <persistence-unit-defaults>
> <schema>schemaInPUDefaults</schema>
> </persistence-unit-defaults>
> </persistence-unit-metadata>
> Lets say this is the ONLY schema defined in the entire app, then this schema should be used by default (the spec clearly defines how the defaults in <persistence-unit-defaults> should be used by a provider).  However, this schema is not used by OpenJPA.  I have a test to recreate this issue and I'm working to provide a fix.
> Thanks,
> Heath Thomann



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
Loading...