You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <de...@geronimo.apache.org> on 2006/10/11 23:23:34 UTC

[jira] Created: (GERONIMO-2485) PersistenceUnitGBean needs a NamespaceDrivenDeployer

PersistenceUnitGBean needs a NamespaceDrivenDeployer
----------------------------------------------------

                 Key: GERONIMO-2485
                 URL: http://issues.apache.org/jira/browse/GERONIMO-2485
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: persistence
    Affects Versions: 1.2
            Reporter: David Jencks
         Assigned To: David Jencks
             Fix For: 1.2


Most of the config into in PersistenceUnitGBean can be read out of persistence.xml.  We should write a NamespaceDrivenBuilder that uses custom xml and can either set stuff from the supplied xml, look for persistence.xml in a specified location, or look for persistence.xml in a default location, and parse persistence.xml.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (GERONIMO-2485) PersistenceUnitGBean needs a NamespaceDrivenDeployer

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-2485?page=comments#action_12450545 ] 
            
David Jencks commented on GERONIMO-2485:
----------------------------------------

What's left is to make this deployer look around in all the places the jee 5 spec says for a persistence.xml.  I think dblevins said he had some code that does this in openejb.

> PersistenceUnitGBean needs a NamespaceDrivenDeployer
> ----------------------------------------------------
>
>                 Key: GERONIMO-2485
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2485
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: persistence
>            Reporter: David Jencks
>         Assigned To: David Jencks
>             Fix For: 1.2
>
>
> Most of the config into in PersistenceUnitGBean can be read out of persistence.xml.  We should write a NamespaceDrivenBuilder that uses custom xml and can either set stuff from the supplied xml, look for persistence.xml in a specified location, or look for persistence.xml in a default location, and parse persistence.xml.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (GERONIMO-2485) PersistenceUnitGBean needs a NamespaceDrivenDeployer

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

David Jencks commented on GERONIMO-2485:
----------------------------------------

In rev 507861 I made it so persistence units specified with persistence.xml embedded in geronimo plans won't have name collisions by providing a EARContext for ejb modules that has a module specific name but shares the underlying Configuration and everything else with the ear's EARContext.  This puts the ejb module name into the persistence unit's name just like other gbeans from the ejb module.  This will also eliminate similar name collisions between plain gbeans in different ejb modules in the same ear.

The code that constructs an abstract name using the location of the persistence unit in the ear is not yet finished.

> PersistenceUnitGBean needs a NamespaceDrivenDeployer
> ----------------------------------------------------
>
>                 Key: GERONIMO-2485
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2485
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: persistence
>            Reporter: David Jencks
>         Assigned To: David Jencks
>             Fix For: 2.0-M2
>
>
> Most of the config into in PersistenceUnitGBean can be read out of persistence.xml.  We should write a NamespaceDrivenBuilder that uses custom xml and can either set stuff from the supplied xml, look for persistence.xml in a specified location, or look for persistence.xml in a default location, and parse persistence.xml.

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


[jira] Commented: (GERONIMO-2485) PersistenceUnitGBean needs a NamespaceDrivenDeployer

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

David Jencks commented on GERONIMO-2485:
----------------------------------------

In g rev 508331 and openejb3 rev 508329 I got the jpa test app to deploy and start but accessing jpa/servlet resulted in only one out of 4 successes.

TestServlet
Test EJB container managed entity manager test OK: false
Test EJB app managed entity manager factory test OK: false
Test servlet container managed entity manager test OK: false
Test servlet app managed entity manager factory test OK: true

> PersistenceUnitGBean needs a NamespaceDrivenDeployer
> ----------------------------------------------------
>
>                 Key: GERONIMO-2485
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2485
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: persistence
>            Reporter: David Jencks
>         Assigned To: David Jencks
>             Fix For: 2.0-M2
>
>
> Most of the config into in PersistenceUnitGBean can be read out of persistence.xml.  We should write a NamespaceDrivenBuilder that uses custom xml and can either set stuff from the supplied xml, look for persistence.xml in a specified location, or look for persistence.xml in a default location, and parse persistence.xml.

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


[jira] Updated: (GERONIMO-2485) PersistenceUnitGBean needs a NamespaceDrivenDeployer

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-2485?page=all ]

David Jencks updated GERONIMO-2485:
-----------------------------------

    Fix Version/s: 2.0-M1
                       (was: 1.2)

> PersistenceUnitGBean needs a NamespaceDrivenDeployer
> ----------------------------------------------------
>
>                 Key: GERONIMO-2485
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2485
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: persistence
>            Reporter: David Jencks
>         Assigned To: David Jencks
>             Fix For: 2.0-M1
>
>
> Most of the config into in PersistenceUnitGBean can be read out of persistence.xml.  We should write a NamespaceDrivenBuilder that uses custom xml and can either set stuff from the supplied xml, look for persistence.xml in a specified location, or look for persistence.xml in a default location, and parse persistence.xml.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (GERONIMO-2485) PersistenceUnitGBean needs a NamespaceDrivenDeployer

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

David Jencks closed GERONIMO-2485.
----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0-M5)
                   2.0-M6

This got fixed a long time ago, certainly by M6.

> PersistenceUnitGBean needs a NamespaceDrivenDeployer
> ----------------------------------------------------
>
>                 Key: GERONIMO-2485
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2485
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: persistence
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 2.0-M6
>
>
> Most of the config into in PersistenceUnitGBean can be read out of persistence.xml.  We should write a NamespaceDrivenBuilder that uses custom xml and can either set stuff from the supplied xml, look for persistence.xml in a specified location, or look for persistence.xml in a default location, and parse persistence.xml.

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


[jira] Updated: (GERONIMO-2485) PersistenceUnitGBean needs a NamespaceDrivenDeployer

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

Vamsavardhana Reddy updated GERONIMO-2485:
------------------------------------------

    Fix Version/s:     (was: 2.0-M1)
                   2.0-M2

> PersistenceUnitGBean needs a NamespaceDrivenDeployer
> ----------------------------------------------------
>
>                 Key: GERONIMO-2485
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2485
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: persistence
>            Reporter: David Jencks
>         Assigned To: David Jencks
>             Fix For: 2.0-M2
>
>
> Most of the config into in PersistenceUnitGBean can be read out of persistence.xml.  We should write a NamespaceDrivenBuilder that uses custom xml and can either set stuff from the supplied xml, look for persistence.xml in a specified location, or look for persistence.xml in a default location, and parse persistence.xml.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira