My Oracle Support Banner

WebLogic Server: Get Data Source Connection with Database User Credentials (Doc ID 1384454.1)

Last updated on NOVEMBER 16, 2023

Applies to:

Oracle WebLogic Server - Version 8.1 to 10.3.5
Information in this document applies to any platform.

Goal

You need to pass the application username and password to get a connection from the datasource pool, rather than use the user (and password) with with the data source was created.

The call:  datasource.getconnection(username, password) does not work.

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.