Ask the Expert

Using JDBC to access a DB2 database

I'm trying to use JDBC to access a DB2 database from within Oracle using Java Stored Procedures. My question is can I use a type 2 (fat) JDBC driver from within the Oracle database? Do I have to use the type 3 (thin) JDBC driver? I have the DB2 client installed on the server with the Oracle database. Thanks!

    Requires Free Membership to View

Each driver version supports different database versions and different JDK versions. Since you didn't give any info about which database version etc, I'll have you take a look at the Oracle JDBC Developer's Guide and Reference on page 2-2 for all the details about what drivers are supported for each version of the database.

For More Information

This was first published in January 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: