Solved

FORMS v4.5 - COULD NOT RESERVE RECORD message

Posted on 2001-08-08
7
2,877 Views
Last Modified: 2007-11-27
in Forms v4.5, I am attempting to delete a record when my DELETE button is fired. And this message keeps appearing.


COULD NOT RESERVE RECORD (2 tries) KEEP TRYING?

 Actually, the message appears even if I try to update the record, not only deleting it.
 
What is it? and are there some other ORACLE commands pertaining to record locking that I might need to use?
 
0
Comment
Question by:joekeri
7 Comments
 
LVL 2

Expert Comment

by:davdonin
ID: 6364785
This usually means that the record is locked by a different session. Are you sure that it is not updated or deleted by another session, which has not been commited yet?
0
 

Author Comment

by:joekeri
ID: 6364823
i am the only person accessing that table. The instance I am in is for my exlcusive use.
0
 

Expert Comment

by:bbchang97
ID: 6364845
This could also happen if you've some codes that will change the data as well.  Check if there's any pre- , post- triggers that will modify the same columns, default data, etc.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Expert Comment

by:bbchang97
ID: 6364848
Check also if there's any database trigger that might modify the same column as well.
0
 
LVL 2

Expert Comment

by:RMZ
ID: 6364869
hi
this due to another session lock this record(update or delete)
there 2 way
1-if u want only one session lock this record and when another session use this record oracle tell u this message
2-if u want all session can acess this record but last commit done and don't give u message change data block
property (locking mode to be delayed)
note:
the default locking mode is automatic
---rmz---
0
 
LVL 34

Accepted Solution

by:
Mark Geerlings earned 50 total points
ID: 6364890
I agree with davdonin, that's what this message means in Forms4.5 (and Forms5 and Forms6) - the record is locked by another session.  Since this instance is exclusively for one user, shut down and restart the instance, then try the delete again.  If it works then, there was a session left in the database that was holding a lock.  This can happen if a user ever does a [Ctrl]-[Alt]-[Delete] to cancel a client session after starting to make a change or delete in an Oracle form, but not committing it.  The other option is to log on to SQL*Plus as a DBA and look for, then "kill" any sessions holding locks (that shouldn't be) or sessions that are no longer connected to a client process.
0
 

Author Comment

by:joekeri
ID: 6365580
We tried yoru suggestion and it worked perfectly.

Thank you for your time and effort.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now