Multiple connections
Posted: Wed Feb 21, 2007 1:11 pm
Hu guys.,
I am developing an application that needs to connect to some databases (not as usuall to one). I have developed a class that swaps between the two databases by first closing the first database and then opens the second and finally close the second and opens the first. I wonder whether this is the best approach and whether this is the best approach and whether it consumes a lot of power?
I am developing an application that needs to connect to some databases (not as usuall to one). I have developed a class that swaps between the two databases by first closing the first database and then opens the second and finally close the second and opens the first. I wonder whether this is the best approach and whether this is the best approach and whether it consumes a lot of power?