Apache JDO Project - [jira] Commented: (JDO-482) JDOHelper.getPersistenceManagerFactory

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > May 2007 > [jira] Commented: (JDO-482) JDOHelper.getPersistenceManagerFactory





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Commented: (JDO-482) JDOHelper.getPersistenceManagerFactory
Craig Russell (JIRA)

2007-05-30, 1:11 pm


[ https://issues.apache.org/jira/brow...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 o

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


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com