[GLASSFISH-15760] Allow persistence units to be packaged outside of the deployment unit Created: 30/Jan/11 Updated: 19/Oct/11
|Fix Version/s:||future release|
|Reporter:||Sanjeeb Sahoo||Assignee:||Sanjeeb Sahoo|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Currently persistence units can only be packaged as part of the deployment unit and only then they are available to EMF/EM reolvers during resolution of @PersistnceContext and @PersistenceUnit or their equivalent JNDI operations. It will be good to allow application developers to package persistence units in standalone libraries or OSGi bundles so as to encourage modularity as well as getting better performance by sharing second level cache.
PFA a patch that adds necessary support in core for such a feature to be supported.
|Comment by Mitesh Meswani [ 01/Feb/11 ]|
The patch looks good to me. Please go ahead and check in when trunk opens up. Assigning back to you for the checkin
|Comment by Sanjeeb Sahoo [ 29/Apr/11 ]|
Deferring to a future release