Skip to content

Commit 51934ed

Browse files
authored
Update ADBQuickStart.java
Changers as per Kuassi's review comments
1 parent 7fc6f2d commit 51934ed

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

java/jdbc/ConnectionSamples/ADBQuickStart.java

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
/* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.*/
1+
/* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
2+
Licensed under the Universal Permissive License v 1.0
3+
as shown at http://oss.oracle.com/licenses/upl */
24

35
/*
46
DESCRIPTION
@@ -46,7 +48,7 @@ online transaction processing operations. The Star Schema Benchmark (SSB) sample
4648

4749
public class ADBQuickStart {
4850

49-
// Make sure to have Oracle JDBC driver 18c or above
51+
// Make sure to have Oracle JDBC release 18c or higher
5052
// to pass TNS_ADMIN as part of a connection URL.
5153
// TNS_ADMIN - Should be the path where the client credentials zip file is downloaded.
5254
// wallet_dbname - This is the TNS Alias that you can get from tnsnames.ora.
@@ -132,15 +134,16 @@ public static void doSQLWork(Connection conn) {
132134
resultSet.getString(3)+ " " + resultSet.getString(4) + " " +
133135
resultSet.getInt(5));
134136
}
135-
System.out.println("\nSuccessfully established a connection to Autonomous Database\n");
136-
}
137+
System.out.println("\nSuccessfully established a connection to Autonomous Database\n");
138+
}
137139
}
138140
}
139141
catch (SQLException e) {
140142
System.out.println("ADBQuickStart - "
141143
+ "doSQLWork()- SQLException occurred : " + e.getMessage());
142144
}
143-
}
144-
}
145+
} // doSQLWork
146+
147+
} // ADBQuickStart
145148

146149

0 commit comments

Comments
 (0)