Implementing strict two phase lock
843859May 3 2010 — edited May 3 2010Hi,
We have a requirement to implement strict two phase lock in one of our project's module.
The project is related to banking account and its transactions.
I could not find any method to lock any record in the database table to avoid concurrent access.I expect this is by default implemented in the database.We are using Oracle 10g.We have methods to modify autocommit mode ON or OFF.
Please suggest me, how this kind of banking account transactions in distributed environment will be implemented in Java program.
Regards
Vamshi