Tom Jenkinson [
https://community.jboss.org/people/tomjenkinson] created the discussion
"Re: EnityManager.close() before or after JTA afterCompletion()?"
To view the discussion, visit:
https://community.jboss.org/message/795968#795968
--------------------------------------------------------------
Hi Seyvet,
I wouldn't want to comment on whether afterCompletion is the right place to call close
for JPA, the thread you reference is probably the best place to discuss that. We are more
concerned with raw transactions in this forum.
Tx::enlistResource(RM rm)
Tx::registerSynchronization(S s)
foreach Synchronization
S::beforeCompletion();
foreach ResourceManager
Tx::prepare()
foreach ResourceManager
Tx::commit()
foreach Synchronization
Tx::afterCompletion
Tom
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/795968#795968]
Start a new discussion in JBoss Transactions Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]