1 Introduction and Roadmap

This chapter describes the contents and organization of this guide—Administering JDBC Data Sources for Oracle WebLogic Server 12.1.3.

This chapter includes the following sections:

Document Scope and Audience

This document is a resource for software developers and system administrators who develop and support applications that use the Java Database Connectivity (JDBC) API. It also contains information that is useful for business analysts and system architects who are evaluating WebLogic Server. The topics in this document are relevant during the evaluation, design, development, pre-production, and production phases of a software project.

This document does not address specific JDBC programming topics. For links to WebLogic Server documentation and resources for this topic, see Related Documentation.

It is assumed that the reader is familiar with Java EE and JDBC concepts. This document emphasizes the value-added features provided by WebLogic Server.

Guide to this Document

Related Documentation

This document contains JDBC data source configuration and administration information.

For comprehensive guidelines for developing, deploying, and monitoring WebLogic Server applications, see the following documents:

JDBC Samples and Tutorials

In addition to this document, Oracle provides a variety of JDBC code samples and tutorials that show configuration and API use, and provide practical instructions on how to perform key JDBC development tasks.

Avitek Medical Records Application (MedRec) and Tutorials

MedRec is an end-to-end sample Java EE application shipped with WebLogic Server that simulates an independent, centralized medical record management system. The MedRec application provides a framework for patients, doctors, and administrators to manage patient data using a variety of different clients.

MedRec demonstrates WebLogic Server and Java EE features, and highlights Oracle-recommended best practices. MedRec is optionally installed with the WebLogic Server installation. You can start MedRec from the ORACLE_HOME\user_projects\domains\medrec directory, where ORACLE_HOME is the directory you specified as the Oracle Home when you installed Oracle WebLogic Server.

JDBC Examples in the WebLogic Server Distribution

WebLogic Server optionally installs API code examples in EXAMPLES_HOME\wl_server\examples\src\examples, where EXAMPLES_HOME represents the directory in which the WebLogic Server code examples are configured. For more information, see "Sample Applications and Code Examples" in Understanding Oracle WebLogic Server.

New and Changed JDBC Data Source Features in This Release

This release includes the following new and changed features:

For a comprehensive listing of the new WebLogic Server features introduced in this release, see What's New in Oracle WebLogic Server.

Oracle 12c Driver Support

WebLogic Server 12.1.3.0 includes Oracle 12c JDBC drivers and is certified to operate with the Oracle 12c database. For details, see "Supported Configurations" in What's New in Oracle WebLogic Server.

For information on limitations when using Application Continuity, see Limitations with Application Continuity with Oracle 12c Database.

Derby Database Driver Support

The Derby Database driver has been updated to version 10.10.1.1.

Encrypted Connection Properties

As part of a secure configuration, it may be necessary to provide one or more connection property values that should not appear as clear text in the Data Source descriptor file. Update existing Data Source configurations using the Encrypted Properties attribute. See Using Encrypted Connection Properties.

Connection Labeling Enhancements to Avoid Connection Costs

WebLogic Server provides two new connection pool properties, ConnectionLabelingHighCost and HighCostConnectionReuseThreshold, to allow a connection pool to use brand-new physical connections to serve connection requests from different tenants without incurring re-initialization overhead on other tenant connections already in the pool. See Using Initialization and Reinitialization Costs to Select Connections.

Connection Labeling with Packaged Applications

WebLogic Server supports callbacks, such as labeling and connection initialization, in EAR or WAR files used by packaged applications. See Using Connection Labeling with Packaged Applications.

oracle.jdbc.enableJavaNetFastPath Disabled

weblogic.j2ee.descriptor.wl.JDBCOracleParamsBean.OracleEnableJavaNetFastPath is not supported in WebLogic Server 12.1.3. This functionality is always enabled by default for Oracle Exalogic environments.

Oracle Data Base Testing Using SQL ISVALID

A new Test Table name value of SQL ISVALID is now supported for Oracle databases. To improve connection testing performance of your Oracle data source, the default setting of the Test Table Name attribute of the connection pool is now SQL ISVALID. See Database Connection Testing Options.

CountOfTestFailuresTillFlush and CountOfRefreshFailuresTillDisable

As of this release, the CountOfTestFailuresTillFlush and CountOfRefreshFailuresTillDisable attributes are disabled when their value is set to 0. In prior releases, the value was 2147483647. See "JDBCConnectionPoolParamsBean" in the MBean Reference for Oracle WebLogic Server.

securityCacheTimeoutSeconds Default Value

A default value of 10 minutes has been implemented for the weblogic.jdbc.securityCacheTimoutSeconds parameter. See Tuning Maintenance Timers

JDBC 4.0 setPoolable(false) Removes Statement

When the JDBC 4.0 setPoolable(false) method is called for a WebLogic data source that has prepared statement caching enabled, the statement is removed from the cache in addition to calling the method on the driver object. See Managing the Statement Cache for a Data Source.