my dog learned polymorphism*
The moose likes JDBC and the fly likes Save point in Java Transactions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Save point in Java Transactions" Watch "Save point in Java Transactions" New topic
Author

Save point in Java Transactions

mini mehta
Ranch Hand

Joined: Oct 22, 2000
Posts: 120
Hi

Can we have savepoint in transaction in java? or Is there any way to implement the same?

Regards
Mini
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1134

Mini,
Are you referring to the "setSavepoint()" method in the java.sql.Connection interface?

I don't know if it will help you (and I am assuming you haven't found it, yet), but Oracle have an example of using "Savepoint" at their "OTN" Web site.

Good Luck,
Avi.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Save point in Java Transactions