Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6329015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:34:07+00:00 2026-05-24T17:34:07+00:00

I have an oracle form, where the lock procedure property of a data block

  • 0

I have an oracle form, where the lock procedure property of a data block is set to call a procedure ‘lock_fn’.
The procedure ‘lock_fn’ looks like below:

procedure lock_fn(outp IN OUT out_tab) IS
l_first BINARY_INTEGER := outp.first;
l_last BINARY_INTEGER := outp.last;
l_id a.id%type;
BEGIN
    for i in  l_first .. l_last loop
        select id
        into   l_id
        from a
        where a.id=outp(i).id;
    end loop;
END lock_fnl;

My question is, Would merely selecting the ids guarantee a row level lock?. Any help would be most welcome.

Edit:
The LOCK-PROCEDURE trigger of the data block has the code auto-generated that looks like below:

DECLARE
bk_data FRMPKG.OUT_TAB;
BEGIN
PLSQL_TABLE.POPULATE_TABLE(bk_data, 'LOCK_FN', PLSQL_TABLE.LOCK_RECORDS);
FRMPKG.LOCK_FN(bk_data);
END;
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T17:34:08+00:00Added an answer on May 24, 2026 at 5:34 pm

    Would merely selecting the ids guarantee a row level lock?

    No. You’d need a SELECT FOR UPDATE (But then selecting just a single column would be sufficient).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have several transactions to insert form data into oracle table. if (InsertQuarterly() ==
I have a procedure on Oracle that works perfectly fine if I call it
Suppose I have an Oracle stored procedure of the following form: procedure validate_entity1(p_id number,
We have Oracle Server Oracle Version: 10.2.0.4.0 - 64bit. I like to connect to
I have an Oracle 10g database of genomic data with several >100 million row
Friends, I'm converting an Oracle Form to Apex and have run into problem(s?) which
We have an Oracle BPM 10g activity that: Reads a form-fill protected Word document
I am trying to retrieve data form an Oracle database using jdbc (ojdbc14.jar). I
I have three radio buttons in my Oracle form. Ideally, selecting one option would
I have several forms (Oracle database and form 10) which have not been developed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.