]
Dan Allen reassigned JBSEAM-3440:
---------------------------------
Assignee: Dan Allen
Don't attempt to change flush mode if persistence manager is
closed
-------------------------------------------------------------------
Key: JBSEAM-3440
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3440
Project: Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.0.3.CR1, 2.1.0.BETA1
Reporter: Dan Allen
Assignee: Dan Allen
Priority: Minor
Fix For: 2.0.3.CR2, 2.1.0.CR1
Attachments: JBSEAM-3440.txt
Original Estimate: 15 minutes
Remaining Estimate: 15 minutes
Seam should not attempt to change the flush mode if the EntityManager or Hibernate
Session is closed. There are perfectly good use cases when the programmer might need to
close the persistence context before the end of the request and right now, Seam freaks out
when it encounters a closed EntityManager or Hibernate Session.
The solution boils down to simply checking if the persistence context is still open
before making the switch.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: