I am using ODAC 5.5 with Delphi 7 and Oracle 9i.
My program uses a thread to call a store procedure which will update records in a table. While the thread is executing, I want to show the user the progress, so I use a TOraQuery in the main thread to query the number of records that is done. My OraQuery just contain a select statement. No any update, insert, lock, or delete sql. While I try to open my OraQuery, it holds and waits until the store procedure complete. The procedure really acquires an exclusive lock on the records, but my OraQuery is just a select query, it should be able to open even if the records have an exclusive lock. Could you please help me to solve this problem.
TOraQuery Lock Problem
-
- Devart Team
- Posts: 925
- Joined: Thu 17 Nov 2005 10:53
-
- Devart Team
- Posts: 925
- Joined: Thu 17 Nov 2005 10:53