What is transaction?
Transaction is a logical unit of work where all operation should success or nothing should success.
Or you can understand as below
A transaction is a set of one or more SQL statements that is executed as a unit either all statements will be executed successfully or none of them.
You can visit JDBC transaction management example for better clarity.
You May Also Like:
JDBC transaction management example
Insert and Select Rows with JdbcRowSet Objects
Update and Delete Rows with JdbcRowSet Objects
Jdbc RowSetListener example
If you have any feedback or suggestion please feel free to drop in below comment box.