Hi users,
I am new in this forum. Just joined this forum for hibernate related problems.
Can anybody here tell me how to use
Quote:
forUpdateOfColumns()
function.
My requirement is as follows:
Quote:
I want to lock a row in the DB while performinig some operation into DB. While doing so i want to make it sure that nobody from other session of oracle can
update a column of that particular row. For that the oracle provides a keyword
FOR UPDATE OF. I can simply do this thing using native HQL, but on internet i found some information that i can do this thing using
forUpdateOfColumns function of Oracle9Dialect Class.
I have declared oracle.dialect in my hibernate configuration file.
Can anybody here help me out.
Thanks in advance.