This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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 ]
 
 
subject: managing transactions