Hi all
If I am using J2SE 1.4.2, a mysql DB (connecting using com.mysql.jdbc.Driver) and if I get a DB connection using DriverManager.getConnection(), are my DB connections pooled? (I.e. if I call close() on a connection object, is the connection actually closed, or just returned to a pool of open connections?)
If connections are not automatically pooled, what is the best way to obtain connection pooling such that when I call close() on a Connection, the connection is returned to the pool?
Thanks.
If I am using J2SE 1.4.2, a mysql DB (connecting using com.mysql.jdbc.Driver) and if I get a DB connection using DriverManager.getConnection(), are my DB connections pooled? (I.e. if I call close() on a connection object, is the connection actually closed, or just returned to a pool of open connections?)
If connections are not automatically pooled, what is the best way to obtain connection pooling such that when I call close() on a Connection, the connection is returned to the pool?
Thanks.