wood burning stoves
The moose likes EJB and other Java EE Technologies and the fly likes Container Managed Transactions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Container Managed Transactions" Watch "Container Managed Transactions" New topic

Container Managed Transactions


Joined: Jun 27, 2001
Posts: 1
Hi all
I am doing container managed transactions.
when calling a entity bean through session bean
Is it neccessary to give a session context rollback on the catch statement.of session bean.
thanks in advance
Jim Baiter
Ranch Hand

Joined: Jan 05, 2001
Posts: 532
Yes, you still need to call ctx.setRollbackOnly();
Matt Midcap

Joined: Jan 07, 1999
Posts: 440
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.

Best Regards,<br />Matt Midcap
I agree. Here's the link: http://aspose.com/file-tools
subject: Container Managed Transactions
It's not a secret anymore!