on 08-25-2010 3:01 AM
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.