execute an atomic sql statement
hi there,
i am a beginner java developer. i have a multi-threaded assignment where clients can reserve rooms. normally, this can cause a reader-writer problem. i had been told that i can execute sql statements atomically, so i ensure that there is no more than writer at the same time.
my question is how to execute an insert statement atomically using java.
and if there are better solutions, i will be happy to know them
thanks in advance.
Subject
Written By
Posted
execute an atomic sql statement
April 03, 2010 12:36PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.