[
https://jira.jboss.org/jira/browse/JBSEAM-4432?page=com.atlassian.jira.pl...
]
Bernard Labno commented on JBSEAM-4432:
---------------------------------------
How come persistence context name is unknown since there is method
PersistenceController.getPersistenceContextName() ?
Home uses closed EntityManager if scoped to PAGE context
--------------------------------------------------------
Key: JBSEAM-4432
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4432
Project: Seam
Issue Type: Bug
Components: Framework
Affects Versions: 2.1.1.GA
Environment: JBoss AS 4.2.2.GA, linux
Reporter: Bernard Labno
Assignee: Pete Muir
Attachments: PersistenceController.java.patch
Original Estimate: 30 minutes
Remaining Estimate: 30 minutes
Home objects cache entity manager which is fine for most scopes except for PAGE scope. I
think, that PersistenceController.getPersistenceContext() method should check if cached
entityManager is closed and if so than fetch one from context.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira