The Transaction interface helps the developers to bind the number of operations as a unit of work. JTA and JDBC provide the implementation of the Transaction implementation. Unless the developers commit the transaction, the data won't reflect in the database.