Skip to content

Commit 8858d91

Browse files
authored
Update JDBCDBTokenSample.java
1 parent 6c4e763 commit 8858d91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/jdbc/ConnectionSamples/JDBCDBTokenSample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class JDBCDBTokenSample {
4242
final static String DB_URL="jdbc:oracle:thin:@(description="
4343
+ "(retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1521)(host=adb.us-phoenix-1.oraclecloud.com))"
4444
+ "(security=(token_auth=OCI_TOKEN))"
45-
+ "(connect_data=(service_name=gebqqeredfsozhjbqbs_dbname_medium.adb.oraclecloud.com)))?oracle.jdbc.tokenAuthentication=OCI_TOKEN";
45+
+ "(connect_data=(service_name=gebqqeredfsozhjbqbs_dbname_medium.adb.oraclecloud.com)))";
4646

4747

4848
public static void main(String args[]) throws SQLException {

0 commit comments

Comments
 (0)