Book Image

JDBC 4.0 and Oracle JDeveloper for J2EE Development

Book Image

JDBC 4.0 and Oracle JDeveloper for J2EE Development

Overview of this book

Table of Contents (20 chapters)
JDBC 4.0 and Oracle JDeveloper for J2EE Development
Credits
About the Author
About the Reviewer
Preface

JDBC 4.0 Version


In a JDeveloper version that supports JDBC 4.0 in its embedded OC4J server, we may add the JDBC 4.0 features to the JSF panel grid application. JDBC 4.0 provides new features such as enhanced connection management, automatic driver loading using Java SE Service Provider mechanism, support for wrapper pattern to access vendor-specific extensions to JDBC API, statement pooling, and support for Java SE chained exceptions facility and categorization of exceptions.

For the JDBC 4.0 version of the JSF panel grid application, we need to download the Oracle database 11g JDBC 4.0 drivers JAR file, ojdbc6.jar, from http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc_111060.html. The JDBC 4.0 driver requires JDK 6.0. Therefore, we need to set the J2SE version to JDK 6.0 in JDeveloper. To set the JDK version select Tools | Project Properties. In the Project Properties window select Libraries and in the J2SE Version field specify the JDK 6.0 version.

The JDBC 4.0...