This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JDBC and the fly likes DB2 AS400 JDBC Driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "DB2 AS400 JDBC Driver" Watch "DB2 AS400 JDBC Driver" New topic

DB2 AS400 JDBC Driver

Emanuel Kadziela
Ranch Hand

Joined: Mar 24, 2005
Posts: 186
I am working with an as400 database as far as I can tell the only jdbc driver in existence for that database is the IBM Toolbox for Java driver ( There is one other driver ( but it's only for stuff that runs directly on the database os.
This driver works fine, except when we started using hibernate with c3p0 for connection pooling/management, we get an error that says:

Thankfully the error is not fatal, but still I was wondering if anoyone knows of an alternative driver that would support this function and not cause this error.
Paul Clapham

Joined: Oct 14, 2005
Posts: 18712

Defining new SQL types? That sounds vaguely familiar in the iSeries context but I have never tried it. Anyway you might get better answers at the JTOpen site on SourceForge:
I agree. Here's the link:
subject: DB2 AS400 JDBC Driver