Thread Safe
1 posts in topic
Flat View  Flat View

Posted By:   Sonica_Vij
Posted On:   Thursday, July 26, 2001 08:45 AM

What drivers are thread safe? I am using the BEA WebLogic Jdriver for MS SQL SERver 7.0. But I am developing an application which needs to connect to multiple (different ) databases via multiple connections and thus data integrity, thread safety are issues. Do you reccommend using middleware product like the Weblogic Server?

Re: Thread Safe

Posted By:   Bozidar_Dangubic  
Posted On:   Thursday, July 26, 2001 10:45 AM

the question of thread-safety is in your code and not in the driver itself. it is you who has to make sure that your code propertly handles multiple threads. there is no thread-safety issues in connecting to multiple databases in multiple connections since each connection is its own object. you are not re-using the same connection object to connect to two different databases at the same time but two different objects. therefore, there is no thread-safety issues.
About | Sitemap | Contact