Issue Details (XML | Word | Printable)

Key: GLASSFISH-15760
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Sanjeeb Sahoo
Reporter: Sanjeeb Sahoo
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

Allow persistence units to be packaged outside of the deployment unit

Created: 30/Jan/11 09:58 PM   Updated: 19/Oct/11 05:45 AM
Component/s: entity-persistence
Affects Version/s: None
Fix Version/s: future release

Time Tracking:
Not Specified

File Attachments: 1. Text File patch.txt (6 kB) 30/Jan/11 09:58 PM - Sanjeeb Sahoo

Tags: 3_1_x-exclude
Participants: Mitesh Meswani and Sanjeeb Sahoo

 Description  « Hide

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.