Bahirji Naik
Bahirji Naik

Reputation: 185

JDBC driver for Java 7

I want to know that which JDBC driver is suitable for Java 7 i.e. Java Version 1.7.0_01 and for Oracle 10g/11g Database?

Upvotes: 5

Views: 34054

Answers (2)

Fatos
Fatos

Reputation: 11

"Java prides itself on backward compatibility and the older version of the drivers will work on Java 7."

The use of term "backward compatibility" in this case is just wrong, as the driver for Java 1.7 would be compatible with Java 1.6, but not the other way round.

Anyhow, the implementation of new features of Java 1.7 such as java.sql.Connection implementing AutoCloseable (new interface in 1.7), I would expect a suitable Driver.

Upvotes: 1

Jon Skeet
Jon Skeet

Reputation: 1503459

A quick search for "oracle jdbc driver" finds this page on Oracle's website, where you can download the drivers for various versions of Oracle. After selecting a database version, the links take you to a page where you can select the appropriate type of driver to download based on the version of Java you're using - pick the latest one available (even if it only says "for JDK 1.4 and 1.5" or "JDK 1.6").

Upvotes: 10

Related Questions