You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Matthew T. Adams (JIRA)" <ji...@apache.org> on 2007/04/13 23:59:15 UTC
[jira] Created: (JDO-482) JDOHelper.getPersistenceManagerFactory
should be enhanced to use service lookup
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
Assigned To: Matthew T. Adams
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.
[jira] Commented: (JDO-482) JDOHelper.getPersistenceManagerFactory
should be enhanced to use service lookup
Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500131 ]
Craig Russell commented on JDO-482:
-----------------------------------
Nice work.
I'd like to see the message improved for
EXC_GetPMFNoClassNameProperty=A property named javax.jdo.PersistenceManagerFactoryClass must be specified.
Can you add to this message?
EXC_GetPMFNoClassNameProperty=A property named javax.jdo.PersistenceManagerFactoryClass must be specified, \
or the jar file with the default META-INF/services/javax.jdo.PersistenceManagerFactory entry must be in the classpath.
> 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.
[jira] Updated: (JDO-482) JDOHelper.getPersistenceManagerFactory
should be enhanced to use service lookup
Posted by "Matthew T. Adams (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (JDO-482) JDOHelper.getPersistenceManagerFactory
should be enhanced to use service lookup
Posted by "Matthew T. Adams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthew T. Adams resolved JDO-482.
----------------------------------
Resolution: Fixed
Fix Version/s: JDO 2 maintenance release 1
Committed Fri 2 Jun 07 16:22 PST
> 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
> Fix For: JDO 2 maintenance release 1
>
> 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.