Approaches to roll back transactions
0 posts in topic
Flat View  Flat View

Posted By:   Jeppe_Skovbon
Posted On:   Monday, April 11, 2005 04:27 AM


When I want to roll back a transaction I use this method:

conn.setAutoCommit( false );
if ( error )

The problem is that I use a mySQL database and have to convert the tables from myISAM to innoDB! I don´t like that, because it gives you some problem when making a copy of the database and open the new database, then all the innoDB tables can´t open again!

Because of that I will hear if there are other ways to make roll back transactions? What about executeBatch()?

About | Sitemap | Contact