[ 
https://issues.apache.org/jira/browse/JDO-576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574090#action_12574090
 ] 

Andy Jefferson commented on JDO-576:
------------------------------------

> When JPOX uses persistence.xml to find the configuration, does it read 
> package.jdo and package.orm? The configuration info is in package.orm. 

Simple reading of the log would tell the answer to that. Yes it does read the 
JDO metadata, just as it does for all other situations. The only problem here 
is that the MetaDataManager was already initialised before it got the info 
about "javax.jdo.option.Mapping" (since it was specified in the properties for 
the persistence-unit, as opposed to the normal input properties) and so was 
looking for package.orm not package-standard.orm. JPOX SVN now passes that too 
- in fact the TCK says 
    [java] Total tests run: 1587.
    [java] All (109) configurations passed.

> Create new tests for getting a pmf using jdoconfig.xml
> ------------------------------------------------------
>
>                 Key: JDO-576
>                 URL: https://issues.apache.org/jira/browse/JDO-576
>             Project: JDO
>          Issue Type: Test
>          Components: tck2, tck2-legacy
>            Reporter: Michelle Caisse
>            Assignee: Michelle Caisse
>             Fix For: JDO 2 maintenance release 1
>
>         Attachments: jdo-576.patch
>
>
> New tests are needed to test getting a persistence manager factory with 
> JDOHelper.getPersistenceManagerFactory() and 
> JDOHelper.getPersistenceManagerFactory(String name);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to