openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Woods (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-1203) JPA2 - createEMF should return null for unhandled PUs
Date Wed, 29 Jul 2009 01:45:14 GMT
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: jpa
    Affects Versions: 2.0.0
            Reporter: Donald Woods
            Assignee: Donald Woods
            Priority: Minor


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.


Mime
View raw message