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


WebSphere application server 6 does not support JDBC 4.0 specification, but IBM provides a JDBC driver that supports JDBC 4.0. IBM Data Server Driver and SQLJ Version 4.0 supports JDBC 4.0. They can be obtained from https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?lang=en_US&source=swg-idsjs11. A WebSphere application server version that supports JDBC 4.0 adds db2jcc4.jar from the IBM Data Server Driver for JDBC and SQLJ, to the server class path. Also, the WebSphere server would have to be run on JDK 6.0 to use the JDBC 4.0 features.

JDBC 4.0 has added support for connection management, which includes the provision to track the state of connections and identify the connections based on client info properties. Connection state tracking has application in tracking the connections that are unusable, but they are still open and available in the connection pool. Unusable connections cause reduction in performance. Prior to the new feature in JDBC 4.0, a connection...