JDBC Interview Questions and Answers For Freshers Part-5
41.How will you insert multiple rows into a database in a single transaction? Follow steps as below //turn off the implicit commit Connection.setAutoCommit(false); //..your insert/update/delete goes here Connection.Commit(); //a new transaction is implicitly started.
Read More