My Oracle Support Banner

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

Last updated on JULY 06, 2020

Applies to:

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


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) doesn't work.


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

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