1 2 Previous Next 18 Replies Latest reply: May 4, 2010 5:13 PM by Alexey Loubyansky RSS

JBJPA-27 and setting PersistenceUnitMetaData reference to PersistenceMetaData

Scott Marlow Master

I'm trying to add a getPersistenceMetaData() to PersistenceUnitMetaData, so that code that has access to the PersistenceUnitMetaData can also get the PersistenceMetaData.  This will help resolve JBJPA-27.

 

Attached to JBJPA-27 is a JBJPA-27.patch (https://jira.jboss.org/jira/secure/attachment/12333993/JBJPA-27.patch) that is written for https://svn.jboss.org/repos/jbossas/projects/metadata/ejb/trunk.  The patch changes PersistenceMetaData.setPersistenceUnits(List persistenceUnits) but unit testing is showing an empty List is passed in.  This isn't a surprise but I am wondering if there is a way to handle linking the classes via some other XML binding magic?

1 2 Previous Next