04-14-07 12:11 AM
JDOHelper.getPersistenceManagerFactory should be enhanced to use service loo
kup
----------------------------------------------------------------------------
---
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.getPersistenceMa
nagerFactory should use service lookup (META-INF/services/javax.jdo.Persiste
nceManagerFactory) 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 att
ribute "class") is not given in either the META-INF/jdoconfig.xml or a prope
rties file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[ Post a follow-up to this message ]
|