This content has been marked as final.
Show 2 replies
-
1. Re: ConstraintViolationException no transaction rollback
miguelz Sep 9, 2009 1:52 PM (in response to miguelz)P.S.
I also tried:
<end-conversation before-redirect="true"/> -
2. Re: ConstraintViolationException no transaction rollback
miguelz Oct 4, 2009 10:41 PM (in response to miguelz)I discovered some new facts:
The above mentioned stale transactions occur with:
<h:commandButton
id="delete"
value="Delete"
immediate="true"
action="#{exampleHome.remove}"
rendered="#{exampleHome.managed}"/>
But when I remove the
immediate=true
line, then everything seems to work like expected.
My conclusion:
The RollbackInterceptor and/or TransactionInterceptor might not be applied/work well when immediate JSF execution (directly after the Apply Request Values phase) is used.
Any seam-transaction expert here?