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

  • Home
  • SEARCH
  • 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 6198281
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:58:09+00:00 2026-05-24T03:58:09+00:00

I have a oracle database. I use the OracleDataAdapter(Oracle.DataAccess.dll) for select, update, insert, delete

  • 0

I have a oracle database. I use the OracleDataAdapter(Oracle.DataAccess.dll) for select, update, insert, delete operations. I don’t set any (table) locks on my own(I only start a transaction). I have a oracle table named “test” with the entry “test1”.

Now my question:

Can Person A read the entry “test1” while Person B is updating/deleting the entry at the exact same time?

What happens in the worst case? An old match/empty match or can it cause any kind of exception/error(e.g. “TableLocked-Exception”)?

Thank you

  • 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-24T03:58:10+00:00Added an answer on May 24, 2026 at 3:58 am

    In Oracle, readers do not block writers. So one session can read a row at the same time that another session is updating or deleting that row. The reader will see the row as it existed at the system change number (SCN) that the query began.

    The only time that there would be blocking would be if two sessions were both attempting to update or delete the same row at the same time. That would not generally generate any exceptions. Instead, whichever session was waiting on the lock would simply block until the holding session released the lock by ending its transaction. You could get an exception if you specify a timeout to wait for a lock or if Oracle detects that your code has deadlocked and has to kill one of the deadlocking sessions in order to resolve the problem.

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

Sidebar

Related Questions

I have an Oracle database where I'm trying to select a user field from
I have an Oracle database backup file (.dmp) that was created with expdp .
I have an Oracle database and the boolean fields are CHAR(1) with Y/N stored.
I have a Oracle database and one of the fields is a date range
Here's the situation: we have an Oracle database we need to connect to to
I have successfully connected to an Oracle database (10g) from C# (Visual Studio 2008)
I have a SQL Server 2005 database that is linked to an Oracle database.
I have a number from an Oracle database of 47306832975095894070.85314746810624532. When I bring it
I have a batch file that was created for an Oracle database that I'm
So I have the following user defined type in my oracle database: CREATE OR

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.