posted 21 years ago
Hi,
Could somebody help me with setting transaction attributes in WSAD 5.0?
I cannot make them working.
I have a method addAssgn() in the session bean, where I insert into three tables.
To insert into first table I use create(...) method of BMP entity bean and
I insert into two others tables in this Session bean using datasource look up.
In Deployment descriptor on Bean tab I've set transaction type to 'container'
and on Assembly descriptor tab I've set container transaction type to 'required'
for that method. Looks like I missed something, because when
inserting into second table failed, it doesn't rollback
(I have data in the first table inserted)
Thanks