This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes managing 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 » Databases » JDBC
Bookmark "managing transactions " Watch "managing transactions " New topic
Author

managing transactions

aryan malhotra
Greenhorn

Joined: Dec 05, 2006
Posts: 11
can anybody please tell me how do i manage transactions ......i am using tomcat
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

Originally posted by aryan malhotra:
can anybody please tell me how do i manage transactions ......i am using tomcat


what type of transaction you want to manage? Can you please give us more detailed information in order to be able to help you.


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
aryan malhotra
Greenhorn

Joined: Dec 05, 2006
Posts: 11
i basically wanted to know about transactions in jdbc how to roll back an event
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

have a look this [ UD: removed links to copyrighted material ]
with an example of AutoCommit or rollback to handle your connection object.
[ August 03, 2007: Message edited by: Ulf Dittmer ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: managing transactions
 
Similar Threads
auto-ID on any J2EE/db combo
UserTransaction and EntityTransaction
What is CMT and BMT?
cleared 1Z0-895 with 98%
Integrating hibernate with spring