I want to know which JDBC driver is suitable for Java 7, i.e. Java Version 1.7.0_01 and for Oracle 10g / 11g Database?
A quick search for the "oracle jdbc driver" finds this page on the Oracle website, where you can download drivers for various versions of Oracle. After selecting the database version, the links will go to a page where you can select the appropriate driver type for loading based on the version of Java you are using - select the last available one (even if it says only "for JDK 1.4 and 1.5" or "JDK 1.6").
"Java , Java 7".
" " , Java 1.7 Java 1.6, .
, Java 1.7, java.sql.Connection, AutoCloseable ( 1.7), .