We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96fdfc3 commit b5dc544Copy full SHA for b5dc544
java/ucp/ConnectionManagementSamples/UCPSample.java
@@ -30,7 +30,7 @@ The code sample demonstrates Universal Connection Pool (UCP) as a client
30
import oracle.ucp.jdbc.PoolDataSource;
31
32
public class UCPSample {
33
- final static String DB_URL= "jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(HOST=myhost)(PORT=1521)(PROTOCOL=tcp))(CONNECT_DATA=(SERVICE_NAME=myorcldbservicename)))";
+ final static String DB_URL= "jdbc:oracle:thin:@myhost:1521/myorcldbservicename";
34
// Use TNS alias when using tnsnames.ora. Use it while connecting to the database service on cloud.
35
// final static String DB_URL= "jdbc:oracle:thin:@orcldbaccess";
36
final static String DB_USER = "hr";
0 commit comments