Scott Marlow [
http://community.jboss.org/people/smarlow%40redhat.com] replied to the
discussion
"JBJPA-27 and setting PersistenceUnitMetaData reference to PersistenceMetaData"
To view the discussion, visit:
http://community.jboss.org/message/540156#540156
--------------------------------------------------------------
Ales, that definitely helps the unit test pass but we would depend on the
PersistenceMetaData.getPersistenceUnits() being called before a call to
PersistenceUnitMetaData.getPersistenceMetaData() is made.
Your solutin is better than changing the code that doesn't have access to the
PersistenceMetaData at the moment. Thanks for the idea. I will see if we can live with
this delicate contract.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/540156#540156]
Start a new discussion in JBoss XML Binding Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]