[jboss-user] [JBoss Seam] - Re: Nested conversations and transaction management
FabBoco
do-not-reply at jboss.com
Wed May 2 06:31:10 EDT 2007
Christian,
tank you very much for your answers. Now everything is clearer.
Since every call to a SFSB method is performed into a different database transaction, my final question is how can I manage transactions so that two or more SFSB methods are executed into the same transaction ?
What I am trying to do is very simple:
1) I start an input form for the Entity Bean A
2) From the input form I open a pop up window in which I can choose items from EB B or I can create new items
3) When I close the pop up the A form is update (so that the back entity bean)
4) If I cancel the operation I would like that the B items would not be saved to the database
I though that a long-running conversation would be the solution. It is not.
Now, I still think that I have to execute A and B methods into a single (user) transaction but where I can open and commit it ?
Any other solution that doesn't involve an explicit transaction management ?
Regards
Fab.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042362#4042362
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042362
More information about the jboss-user
mailing list