Skip to content

Commit 5313a7a

Browse files
committed
Update oracle dependencies
also add a bit more logging
1 parent e7f62f5 commit 5313a7a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,19 @@
5656
<version>4.6.3</version>
5757
</dependency>
5858
<dependency>
59-
<groupId>com.oracle.ojdbc</groupId>
59+
<groupId>com.oracle.database.jdbc</groupId>
6060
<artifactId>ojdbc8</artifactId>
6161
<version>${oracle.jdbc.version}</version>
6262
<scope>compile</scope>
6363
<exclusions>
6464
<exclusion>
65-
<groupId>com.oracle.ojdbc</groupId>
65+
<groupId>com.oracle.database.jdbc</groupId>
6666
<artifactId>ucp</artifactId>
6767
</exclusion>
6868
</exclusions>
6969
</dependency>
7070
<dependency>
71-
<groupId>com.oracle.ojdbc</groupId>
71+
<groupId>com.oracle.database.nls</groupId>
7272
<artifactId>orai18n</artifactId>
7373
<version>${oracle.jdbc.version}</version>
7474
<scope>compile</scope>

src/main/java/org/utplsql/cli/datasource/TestedDataSourceProvider.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ private void setThickOrThinJdbcUrl(OracleDataSource ds) throws SQLException {
5454
ds.setPassword(config.getPassword());
5555

5656
for (ConnectStringPossibility possibility : possibilities) {
57+
logger.debug("Try connecting {}", possibility.getMaskedConnectString(config));
5758
ds.setURL(possibility.getConnectString(config));
5859
try (Connection ignored = ds.getConnection()) {
5960
logger.info("Use connection string {}", possibility.getMaskedConnectString(config));

0 commit comments

Comments
 (0)