home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / database / oracle / 2977 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.7 KB  |  41 lines

  1. Newsgroups: comp.databases.oracle
  2. Path: sparky!uunet!math.fu-berlin.de!news.belwue.de!ifi!scheidjs
  3. From: scheidjs@mickey.informatik.uni-stuttgart.de (Johannes Scheidler)
  4. Subject: Locking under SQL*Forms 3.0
  5. Message-ID: <1993Jan28.095843.1238@ifi.informatik.uni-stuttgart.de>
  6. Keywords: Lock
  7. Sender: news@informatik.uni-stuttgart.de
  8. Organization: Informatik, Uni Stuttgart, Germany
  9. Date: Thu, 28 Jan 1993 09:58:43 GMT
  10. Lines: 29
  11.  
  12. With default locking in SQL*Forms 3.0 (if you make an query with FOR_UPDATE 
  13. and NOWAIT option), the record is locked, when you change its value, as late 
  14. as possible. When the record is already locked, you get the message :
  15. Attempt to preserve record for update or delete. Press CONTROL-C to cancel...
  16.  
  17. The reaction of the CTRL-C is very slow (it can take up to minutes). Is it 
  18. possible to avoid this message and then giving the user a message without
  19. waiting for the CTRL-C ? In my own programs I can make a Lock with NOWAIT 
  20. option and then I get an error, if the lock is used by another process, but a
  21. simple Select in Forms does never make any locks, even if I made an explicit
  22. lock statement.
  23.  
  24. The other way is never to lock anything and always get the message :
  25. Record updated by another user, plese requery.
  26.  
  27. Is there any use of the ON-LOCK-Trigger?
  28. Is it possible to make an explicit lock (e.g. row exclusive) at the time of 
  29. the query ?
  30. How can I lock other tables which contains references on the current visible
  31. data and must be updated/deleted with the current record ?
  32.  
  33. We need an easy way (for many Forms) to implement multi-user-features without
  34. any visible messages for the user (or simply no waiting for CTRL-C).
  35. If you have solved this problems please mail me your solution to :
  36.  
  37. hannes%tuatara@Germany.EU.net
  38.  
  39. Thanks
  40.  
  41.