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

What is the use of jdbc api?

501


DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality. What can I do?

580


What are the different types of drivers under jdbc?

467


Is jdbc object oriented?

496


What does executeupdate return in java?

490






What does the jdbc databasemetadata interface?

515


Differentiate between stored procedure and functions?

614


Explain about the drive manager class working?

595


What is jdbc and jpa?

508


What is jdbc resultsetmetadata interface?

521


What is the significance of DataBaseMetaData.tableIndexStatistics? How to obtain and use it?

508


Why do I have to reaccess the database for Array, Blob, and Clob data?

537


What is jdbc template?

511


What is the use of JDBC DriverManager class?

549


Why resultset is used in java?

497