Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: locking records
It depends on your application, and how long data sits around on the user's
screen before they can do something with it. I don't like locking when it's
unlikely that the user will make any changes, or the data may sit on the
screen for very long (actually, I don't like to do it at all, on the
appplication level). However, the following methods may work:
I guess my basic philosophy is: Oracle has done the locking for you, at least not allowing you to update a record that someone else has already updated but not committed -- do you really want to reinvent the wheel? You just want to make sure your user's don't stomp on someone else's changes, right?
Regards,
Diana
-----Original Message-----
From: Dennis Taylor [mailto:ismgr_at_pctc.com]
Sent: Tuesday, November 28, 2000 1:26 PM
To: Multiple recipients of list ORACLE-L
Subject: locking records
I'm trying to figure out the optimum record locking scheme for our application. My choices are:
Pros and Cons:
I know this isn't primarily a development mailing list, but it seems to me as DBA's you'd have had to deal with the design and consequences of locking schemes. Any feedback on what works and what doesn't would be appreciated. Received on Tue Nov 28 2000 - 17:18:34 CST