Solved

oracle table handlers

Posted on 2004-09-03
3
604 Views
Last Modified: 2010-08-05
This is regarding the custom form which i'll be registering in apps

I have created a form and the base table is a view.
The table is having around 70 columns and i have created view with rowid and all the columns from the base table.

 i'll be displaying only 13 columns in the screen and updating only one column
out of 13 columns some are not null columns and some accept null values alos
I have written two table handlers on the block, on-update and on-lock

my question is how do i need to frame the on-lock procedure logic....
do i need to include all the 70 columns in the lock-row logic
or do i need to check for the 13 columns which are displayed on the screen
or is it enough if i check for the non-null colums in the lock-row procedure..

FYI : i'm following the same steps as mentioned in the oracle applications developer guides ..
topic : Example Client–Side Table Handler  page 4-21
0
Comment
Question by:hiswapna
3 Comments
 
LVL 15

Accepted Solution

by:
andrewst earned 125 total points
ID: 11971979
Interesting question.  My initial thought is that you only need to check the 13 columns, because the user is unconcerned with the other 57.  Here's my reasoning:

Suppose you check them all, and find that someone else has changed col66, which your form doesn't use.  The error is raised telling the user the he/she needs to requery the record as it has been changed.  The user requeries the record, which comes back looking exactly the same as before, and then successfully locks it.  So nothing has been gained by the initial lock failure.
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

Suggested Solutions

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
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.

743 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