Page 1 of 1

Direct mode and Threaded Application Server

Posted: Tue 25 Jan 2011 16:38
by rhettp
Can anyone clarify this statement in the ODAC help:

>> Are the ODAC connection components thread-safe?
>> In Client mode, ODAC is thread-safe. In Direct mode, we do not
>> guarantee complete thread safety and recommend setting up a separate
>> Connection set for each thread that uses ODAC.

Does this mean that Direct Mode is not recommended for all threading scenarios, or just that if using Direct Mode you need to stick with only one Connection per thread and then you are ok?

- Rhett Price

Posted: Wed 26 Jan 2011 08:47
by AlexP
Hello,

We had some problems with threads in the direct mode in older versions of ODAC.
Now we have fixed most of them, and recently we did not receive any complaints associated with multi-threading in the direct mode.
So if you are using the latest version of ODAC, you should not have any problems with multi-threading in direct mode.

Posted: Mon 12 Sep 2011 08:32
by fagut
From wich version have you fixed the code ?
We have ODAC v.6.90.0.60 ... is this version fixed or is considered unestable with thread safe in direct connections ?

Posted: Mon 12 Sep 2011 13:12
by AlexP
Hello,

The last known bug with multithreading in ODAC was fixed in the version 7.00.0.2, but we recommend you to use the latest versions of our products, because all fixes and new features are added to the latest version only.