How transactions are performed using JDBC ?

Answer Posted / devarathnam c,kotagudibanda(po

Hi... Using the following methods we can perform
transactions in JDBC
1:commit();
2:rollback();
3:setAutoCommit();These are in the Connection interface

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the common jdbc exceptions ?

783


Why is odbc needed?

703


Why do we need a jdbcrowset like wrapper around resultset?

972


What do you mean by odbc?

785


What are the conditions applies to varchar variable, when using in procedures?

1862


What is the limitation of PreparedStatement and how to overcome it?

859


What is encrypted connection?

757


How do I load a database driver with JDBC 4.0 / Java 6?

773


How can we store and retrieve images from the database?

733


What is jdbc and its types?

701


What is jdbc in dbms?

728


Why jdbc is used in java?

697


What is an escape syntax?

731


How can you load the drivers?

744


Why are we using blob datatypes in jdbc?

767