InterviewSolution
Saved Bookmarks
| 1. |
How will you insert multiple rows into a database in a single transaction? |
|
Answer» Follow steps as below //turn off the implicit commitConnection.setAutoCommit(false);//..your insert/update/delete goes hereConnection.Commit();//a new transaction is implicitly started. |
|