Skip to content

Commit 2675ff4

Browse files
authored
Update UCPSample.java
Updated URL for ATP & ADW
1 parent d254879 commit 2675ff4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

java/jdbc/ConnectionSamples/UCPSample.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ The code sample demonstrates Universal Connection Pool (UCP) as a client
3131

3232
public class UCPSample {
3333
final static String DB_URL="jdbc:oracle:thin:@myhost:1521/orclservicename";
34+
// Use the TNS Alias name along with the TNS_ADMIN - For ATP and ADW
35+
final static String DB_URL="jdbc:oracle:thin:@myhost:1521@wallet_dbname?TNS_ADMIN=/Users/nbsundar/DBCloudService/wallet_JDBCTEST";
3436
final static String DB_USER = "hr";
3537
final static String DB_PASSWORD = "hr";
3638
final static String CONN_FACTORY_CLASS_NAME="oracle.jdbc.pool.OracleDataSource";

0 commit comments

Comments
 (0)