ODBC - multiple connections from one app to the same data source
Posted
by Marcin K
on Stack Overflow
See other posts from Stack Overflow
or by Marcin K
Published on 2010-04-28T15:51:26Z
Indexed on
2010/04/28
22:57 UTC
Read the original article
Hit count: 188
I vaguely remember reading somewhere (in MSDN ODBC documentation?) that one application cannot make more than one connection to a single data source. It seemed to me that I need one connection that all the threads of the application will have to share.
I was trying to look this information up, but I can't seem to find it anymore. Does anyone know/remember how this works?
It all might become a problem in our app, since some of its threads will dynamically connect to data sources of their choice. I don't want to see random connection errors if two of them will connect at the same time to one source, so I wanted to double check this info.
© Stack Overflow or respective owner