aspose file tools*
The moose likes JDBC and the fly likes Pooling DB2 connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Pooling DB2 connection" Watch "Pooling DB2 connection" New topic

Pooling DB2 connection

Tom Henricksen
Ranch Hand

Joined: Mar 23, 2004
Posts: 136

I have some code I am trying to pool a connection for DB2

When I run this I get an exception Failure in loading T2 native library db2jcct2

This looks like it is looking for a type 2 JDBC connection with the client. I am using a type 4 (pure java) jar. (db2jcc.jar). Is there a different way to set up a pooled connection without the client? And how do I set the URL of database?
I agree. Here's the link:
subject: Pooling DB2 connection
Similar Threads
Need Help Pulling Data From Oracle Table (Newby)
DB2 Pool Data
How to connect to mysql database?
Prepared Statement null pointer exception help
Proper way to close Connection, Statement & ResultSet