Direct mode and Threaded Application Server
Posted: Tue 25 Jan 2011 16:38
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
>> 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