commit() and rollback() methods are defined in which
interface?

Answer Posted / subrahmanyam

commit() adn rollback() methods are defined in
java.sql.Connection Interface.



First answer is correct

Is This Answer Correct ?    39 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a connection string used for?

509


Can we have foreign key reference to a non primary key column ?

535


What does setautocommit do?

562


Explain about DSN?

541


What is jdbc dialect?

509






What is benefit of using preparedstatement in java?

495


How can we set null value in jdbc preparedstatement?

531


What is new in JDBC 2.0?

580


Explain about the drive manager class working?

608


Why we use jdbc instead of odbc?

509


Why do we use jdbc?

518


What is @entity in java?

532


Can I set up a connection pool with multiple user IDs? The single ID we are forced to use causes problems when debugging the DBMS.

525


Which constraint cannot be specified as an explicit constraint and should be specified with the column only ?

492


When do we get java.sql.SQLException: No suitable driver found?

550