You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Donald Woods (JIRA)" <ji...@apache.org> on 2009/10/05 20:30:31 UTC

[jira] Updated: (OPENJPA-1203) JPA2 - createEMF should return null for unhandled PUs

     [ https://issues.apache.org/jira/browse/OPENJPA-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods updated OPENJPA-1203:
----------------------------------

      Component/s:     (was: jpa)
                   docs
    Fix Version/s: 2.0.0-M3

Doc this as an OpenJPA behavior...

> JPA2 - createEMF should return null for unhandled PUs
> -----------------------------------------------------
>
>                 Key: OPENJPA-1203
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1203
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: docs
>    Affects Versions: 2.0.0
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>            Priority: Minor
>             Fix For: 2.0.0-M3
>
>
> JPA2 spec section 9.2 states - "If a provider does not qualify as the provider for the named persistence unit, it must return null when createEntityManagerFactory is invoked on it."
> But OpenJPA is throwing exceptions for all failure cases...
> For now, we'll keep the 1.x behavior, but may need to revisit this when we start running the JPA2 TCK.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.