G
Guest
hey, I have 2 threads, th and th2, both of them run a method.
each of these 2 methods requires database access.
sometimes I get an error, that database requires an open connection, and
that the current connection state is "connecting".
is this because both threads are trying to use the same database???
they use the same public static data access class. would this be why? isnt
there some way I can avoid this?
thanks.
each of these 2 methods requires database access.
sometimes I get an error, that database requires an open connection, and
that the current connection state is "connecting".
is this because both threads are trying to use the same database???
they use the same public static data access class. would this be why? isnt
there some way I can avoid this?
thanks.