05-30-07 06:11 PM
[ https://issues.apache.org/jira/brow...ls:all-tabpanel ]
Matthew T. Adams updated JDO-482:
---------------------------------
Attachment: jdo-482.patch
Patch for this issue
> JDOHelper.getPersistenceManagerFactory should be enhanced to use service l
ookup
> --------------------------------------------------------------------------
-----
>
> 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.getPersistenceManagerF
actory should use service lookup (META-INF/services/javax.jdo.PersistenceManagerFact
ory) as part of its strategy to bootstrap the JDO environment. This has implication
s o
n the code checked in as of this writing because it throws an exception if t
he javax.jdo.PersistenceManagerFactoryClass property (or its corresponding a
ttribute "class") is not given in either the META-INF/jdoconfig.xml or a pro
perties 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 ]
|