can you explain transaction control in jcbc
Transaction control involves committing and roll backing transactions and setting Isolation level for transactions.
1) Setting the Isolation level: Using the Connection.setTransactionIsolation(int level) method isolation level can be set in JDBC. the method can accept any of the arguments listed below.
TRANSACTION_NONE TRANSACTION_READ_COMMITTED TRANSACTION_SERIALIZABLE TRANSACTION_READ_UNCOMMITTED TRANSACTION_REPEATABLE_READ
2) Committing or rolling back: To commit or roll back transactions explicitly, use the commit or rollback methods.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.