You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2007/05/16 21:08:16 UTC

[jira] Created: (OPENEJB-579) Persistenceunit refs with no name should get resolved to a unique persistence unit

Persistenceunit refs with no name should get resolved to a unique persistence unit
----------------------------------------------------------------------------------

                 Key: OPENEJB-579
                 URL: https://issues.apache.org/jira/browse/OPENEJB-579
             Project: OpenEJB
          Issue Type: Bug
          Components: deployment
    Affects Versions: 3.0
            Reporter: David Jencks
         Assigned To: David Jencks
             Fix For: 3.0


Apparently if there's only one persistence unit in a an ear a persistence unit ref doesn't need a name and should get resolved anyway.  So the LinkResolver for EntityManagerFactories should look for null name and return the unique possibility if it exists.

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


[jira] Closed: (OPENEJB-579) Persistenceunit refs with no name should get resolved to a unique persistence unit

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks closed OPENEJB-579.
--------------------------------

    Resolution: Fixed

Fixed in rev 538689.  This also fixes a couple problems with extended persistence contexts

> Persistenceunit refs with no name should get resolved to a unique persistence unit
> ----------------------------------------------------------------------------------
>
>                 Key: OPENEJB-579
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-579
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 3.0
>            Reporter: David Jencks
>         Assigned To: David Jencks
>             Fix For: 3.0
>
>
> Apparently if there's only one persistence unit in a an ear a persistence unit ref doesn't need a name and should get resolved anyway.  So the LinkResolver for EntityManagerFactories should look for null name and return the unique possibility if it exists.

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