How do I known Which JDBC Driver Type in ConnectionPool?
843854Aug 27 2002 — edited Oct 25 2002Usually, we have to specify the JDBC driver type 1, 2, 3, 4 in our programs as
"COM.ibm.db2.jdbc.app.DB2Driver" or "COM.ibm.db2.jdbc.net.DB2Driver"
However, when we use connection pool, we just use the Data Source class file instead e.g. "COM.ibm.db2.jdbc.DB2ConnectionPoolDataSource" or "COM.ibm.db2.jdbc.DB2XADataSource". No program need to specify the driver.
Why is it like that? How do I know which driver type is using in the connection pool?