How to use connection pooling in multi threaded apps
Posted: Mon 19 Oct 2009 16:01
Hello
I have an application with a webserver and different database events, resulting in database access in different threads.
I find some reference info about connection pooling, and that I have to use one connection per thread. But I do not understand the interactions!
Is there an exaple for setting up and using a connection with connection pooling in a new thread?
Many thanks for any help and hint!
I have an application with a webserver and different database events, resulting in database access in different threads.
I find some reference info about connection pooling, and that I have to use one connection per thread. But I do not understand the interactions!
Is there an exaple for setting up and using a connection with connection pooling in a new thread?
Many thanks for any help and hint!