File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/test/java/org/springframework/data/r2dbc/testing Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 217217 <dependency >
218218 <groupId >com.oracle.database.jdbc</groupId >
219219 <artifactId >ojdbc11</artifactId >
220- <version >21.1 .0.0</version >
220+ <version >21.4 .0.0.1 </version >
221221 <scope >test</scope >
222222 </dependency >
223223
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public class OracleTestSupport {
5555 + " id INTEGER GENERATED by default on null as IDENTITY PRIMARY KEY,\n " //
5656 + " version INTEGER NULL,\n " //
5757 + " name VARCHAR2(255) NOT NULL,\n " //
58- + " flag Boolean NULL,\n " //
58+ + " flag INTEGER NULL,\n " //
5959 + " manual INTEGER NULL\n " //
6060 + ")" ;
6161
@@ -65,6 +65,7 @@ public class OracleTestSupport {
6565 + " \" Manual\" INTEGER NULL\n " //
6666 + ")" ;
6767 public static final String DROP_TABLE_LEGOSET_WITH_MIXED_CASE_NAMES = "DROP TABLE \" LegoSet\" " ;
68+
6869 /**
6970 * Returns a database either hosted locally or running inside Docker.
7071 *
@@ -162,9 +163,9 @@ public static DataSource createDataSource(ExternalDatabase database) {
162163
163164 DriverManagerDataSource dataSource = new DriverManagerDataSource ();
164165
166+ dataSource .setUrl (database .getJdbcUrl ().replace (":xe" , "/XEPDB1" ));
165167 dataSource .setUsername (database .getUsername ());
166168 dataSource .setPassword (database .getPassword ());
167- dataSource .setUrl (database .getJdbcUrl ().replace (":xe" , "/XEPDB1" ));
168169
169170 return dataSource ;
170171 }
You can’t perform that action at this time.
0 commit comments