wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Container Managed Transactions" Watch "Container Managed Transactions" New topic
Author

Container Managed Transactions

pradeepa
Greenhorn

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
Pradeep
Jim Baiter
Ranch Hand

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

Joined: Jan 07, 1999
Posts: 440
"pradeepa",
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.
Thanks.

Best Regards,<br />Matt Midcap
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Container Managed Transactions
 
Similar Threads
Doubt in stateful session bean
Ejb Transactions
Usertransaction and Entity Beans
why entity bean cannot manage own transtaction while session beans can do this ?
CMP versus CMT