Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do I known Which JDBC Driver Type in ConnectionPool?

843854Aug 27 2002 — edited Oct 25 2002
Usually, 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?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 22 2002
Added on Aug 27 2002
4 comments
153 views