|jpa entities in different bundles under virgo [message #676867]
||Mon, 06 June 2011 15:25
| attila Missing name
Registered: April 2010
Did anybody try under Virgo to split a jpa entities bundle in more bundles ?
For example there are 2 bundles jpa-bundle1 with Entity1 and jpa-bundle2 with Entity2
Entity2 has a reference field to Entity1. Both entities should be part of the same persistence unit.
Now i'd like to create an EntityManager in bundle-3 and pass it to other bundles (bundle 4,5 .. ) without explicitly import the jpa bundles in bundle-3
Any comments ?
Powered by FUDForum
. Page generated in 0.01868 seconds