This content has been marked as final.
Show 1 reply
-
1. Re: CMP and Transactions
sergeibatiuk Jul 16, 2002 7:26 AM (in response to sergeibatiuk)I have just created a stateless session bean and wrapped all the logic into one method. Everything works well now, all operations within a single transaction. Before that, I made two separate calls to entity beans ( Tree and Group ) from a client (applet), which probably could give no idea to the container where transaction boundaries are.
I still am confused, however, with the fact that a call to entity bean's ejbCreate() which in turn called another bean's method, with transaction flags set as 'Required', resulted in two separate transactions.
Sincerely,
Sergei Batiuk.