Print Thread
ORA-00942 Table or view does not exist when reconnecting
#5096 07/10/03 12:05 PM
Joined: Jul 2003
Posts: 1
Paris, France
F
Member
OP Offline
Member
F
Joined: Jul 2003
Posts: 1
Paris, France
Hi Marko,

I'm using DOA 3.4.6.1 to connect to a 8.1.6 server under W2K.
When my application starts, it opens 3 sessions (with ThreadSafe = True) to 3 different databases. Using one of these session - let's call it Session1 - it runs several select queries using instances of TOracleQuery (with Threaded = True, ThreadSynchronized = True). One of these queries - let's call it Query1 - connected to Session1 consists in a single select statement on a table.
My application offers a "reconnect" function (it closes all sessions, then reopens all sessions and runs again the queries).
The problem is, sometimes when reconnecting, some users experience an Oracle error ORA-00942 that raises in the OnThreadError event of the Query1 mentionned above. Of course, the logon parameters did not change between the connections. I reproduced that error once, but I cannot figure how to reproduce it again since then.
The sessions are defined at design time in a datamodule that is instancied during the whole life cycle of the program. Is there any possible problem in freeing query threads / reusing instances or something like that in the TOracleSession component when closing then reopening the session?

Regards.

Re: ORA-00942 Table or view does not exist when reconnecting
#5097 07/10/03 10:03 PM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
I'm not aware of any such problem. Perhaps you can log the SQL.Text and the ErrorLine and ErrorPosition in your application, so that you have more information when this error happens again?

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.119s Queries: 14 (0.033s) Memory: 2.4982 MB (Peak: 3.0393 MB) Data Comp: Off Server Time: 2024-04-28 16:30:06 UTC
Valid HTML 5 and Valid CSS