Upgrade to Oracle JDBC driver 21.4.0.0.1.

See #710
This commit is contained in:
Mark Paluch
2022-01-27 09:21:49 +01:00
parent fd342b9f8c
commit b06c90cfa1
2 changed files with 4 additions and 3 deletions

View File

@@ -217,7 +217,7 @@
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc11</artifactId>
<version>21.1.0.0</version>
<version>21.4.0.0.1</version>
<scope>test</scope>
</dependency>

View File

@@ -55,7 +55,7 @@ public class OracleTestSupport {
+ " id INTEGER GENERATED by default on null as IDENTITY PRIMARY KEY,\n" //
+ " version INTEGER NULL,\n" //
+ " name VARCHAR2(255) NOT NULL,\n" //
+ " flag Boolean NULL,\n" //
+ " flag INTEGER NULL,\n" //
+ " manual INTEGER NULL\n" //
+ ")";
@@ -65,6 +65,7 @@ public class OracleTestSupport {
+ " \"Manual\" INTEGER NULL\n" //
+ ")";
public static final String DROP_TABLE_LEGOSET_WITH_MIXED_CASE_NAMES = "DROP TABLE \"LegoSet\"";
/**
* Returns a database either hosted locally or running inside Docker.
*
@@ -162,9 +163,9 @@ public class OracleTestSupport {
DriverManagerDataSource dataSource = new DriverManagerDataSource();
dataSource.setUrl(database.getJdbcUrl().replace(":xe", "/XEPDB1"));
dataSource.setUsername(database.getUsername());
dataSource.setPassword(database.getPassword());
dataSource.setUrl(database.getJdbcUrl().replace(":xe", "/XEPDB1"));
return dataSource;
}