[JPA_SPEC-46] Explicitly allow or disallow use of Entity Manager with extended Persistence Context for CDI injection Created: 05/Feb/13 Updated: 05/Apr/13
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
CDI specification has so called producer methods, allowing to create (or retrieve) objects to be injected.
JPA specification should explicitly state whether is it allowed for Stateful Session bean to have a producer method that returns extended EntityManager?
This would be useful if conversation is implemented with several session beans and they all want to share a single extended EntityManager.
|Comment by ldemichiel [ 22/Feb/13 ]|
I think this is probably more an EJB issue than a JPA one, but in any case