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