dcsimg
EJB trasaction
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   tomzx_zhou
Posted On:   Sunday, April 7, 2002 10:18 PM

I have a simple application with one stateful session bean and two CMP entity bean,I call two entity bean method in the session bean,one is for insert a new row in a table,the other is for update a row in the other table.The question is
when I want to use the setRollbackOnly method in the session ,The update is rollback,But the insert is not ,
I have set the transaction attribute of the session method and the entity bean to required.But why the insert not rollback,who can help me?

About | Sitemap | Contact