cancel
Showing results for 
Search instead for 
Did you mean: 

Other options to connect to an oracle database

Former Member
0 Kudos

Hi All,

We have a wd application connected to oracle database using JDBC:

Connection conn = DriverManager.getConnection( "jdbc:oracle:thin:@oracle server ip:port:sid", "user name", "password");

However, the user name and password to connect to the database were hard-coded. We wanted to remove this from the code. Thus, we need to find other way to connect to an oracle database.

We tried to create an oracle datasource in the VA. However, this is not an option anymore as the datasource was deleted during our system's upgrade. This could be an issue on going as we have to re-create it after each upgrade in the system.

Is there any other way to connect to oracle database without exposing the user name and password?

Accepted Solutions (0)

Answers (1)

Answers (1)

blanca_serrano
Advisor
Advisor
0 Kudos

Hello,

Please, see the following help documentation that can show you the possibilities and some examples of how to use

DriverManager.getConnection method:

http://help.sap.com/saphelp_nw70/helpdata/en/2d/5c085d9f585d4b912392ba075e1ce7/frameset.htm

I hope this helps you.

Regards,

Blanca