db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew T. Adams (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JDO-482) JDOHelper.getPersistenceManagerFactory should be enhanced to use service lookup
Date Wed, 30 May 2007 12:43:15 GMT

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

Matthew T. Adams updated JDO-482:
---------------------------------

    Attachment: jdo-482.patch

Patch for this issue

> JDOHelper.getPersistenceManagerFactory should be enhanced to use service lookup
> -------------------------------------------------------------------------------
>
>                 Key: JDO-482
>                 URL: https://issues.apache.org/jira/browse/JDO-482
>             Project: JDO
>          Issue Type: Improvement
>          Components: api2, api2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>            Assignee: Matthew T. Adams
>         Attachments: jdo-482.patch
>
>
> Looking up a persistence unit (AKA named PMF) via JDOHelper.getPersistenceManagerFactory
should use service lookup (META-INF/services/javax.jdo.PersistenceManagerFactory) as part
of its strategy to bootstrap the JDO environment.  This has implications on the code checked
in as of this writing because it throws an exception if the javax.jdo.PersistenceManagerFactoryClass
property (or its corresponding attribute "class") is not given in either the META-INF/jdoconfig.xml
or a properties file.

-- 
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