Monday, May 7, 2001 12:15 PM
It's said using JDBC connection pool can reduce the overhead
to establish a connection.
Suppose I have an object and a method which
may be used multithreadedly.
Can I establish a JDBC connection in the constructor of the object,
and the method just use this connection?
Since the method just use this connection to execute one very simple
sql query statement, do I have to get a new connection in
this method? Can one JDBC connection be used multithreadedly?