D
Duncan Mole
Hi,
Does anyone have a good design framework for multithreaded database
applications? I feel I shoul share a single instace of the database
connection between the threads but don't have a way of regulating access to
this connection.
I have a singleton class and tried putting the connection object in there.
Within the accessor property I tried to implement a thread sleep until the
connection state was not open but this did not work.
Any thoughts?
Does anyone have a good design framework for multithreaded database
applications? I feel I shoul share a single instace of the database
connection between the threads but don't have a way of regulating access to
this connection.
I have a singleton class and tried putting the connection object in there.
Within the accessor property I tried to implement a thread sleep until the
connection state was not open but this did not work.
Any thoughts?