How to Configure a WebLogic JDBC DataSource and Use It in a Standalone JDBC Program Using JNDI (Doc ID 1600347.1)

Last updated on MAY 19, 2017

Applies to:

JDBC - Version 11.2.0.1 and later
Oracle WebLogic Server - Version 10.3.6 and later
Oracle WebCenter Portal - Version 11.1.1.8.0 to 11.1.1.8.0 [Release 11g]
Information in this document applies to any platform.

Goal

 The purpose of this article is to provide a detailed step by step demonstration for the WebLogic novice on how to configure a JDBC connection as a data source and write a standalone Java program that will use the WebLogic JNDI service to look up the data source and obtain a JDBC connection.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms