File tree 2 files changed +4
-3
lines changed
src/test/java/org/springframework/data/r2dbc/testing
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 217
217
<dependency >
218
218
<groupId >com.oracle.database.jdbc</groupId >
219
219
<artifactId >ojdbc11</artifactId >
220
- <version >21.1 .0.0</version >
220
+ <version >21.4 .0.0.1 </version >
221
221
<scope >test</scope >
222
222
</dependency >
223
223
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public class OracleTestSupport {
55
55
+ " id INTEGER GENERATED by default on null as IDENTITY PRIMARY KEY,\n " //
56
56
+ " version INTEGER NULL,\n " //
57
57
+ " name VARCHAR2(255) NOT NULL,\n " //
58
- + " flag Boolean NULL,\n " //
58
+ + " flag INTEGER NULL,\n " //
59
59
+ " manual INTEGER NULL\n " //
60
60
+ ")" ;
61
61
@@ -65,6 +65,7 @@ public class OracleTestSupport {
65
65
+ " \" Manual\" INTEGER NULL\n " //
66
66
+ ")" ;
67
67
public static final String DROP_TABLE_LEGOSET_WITH_MIXED_CASE_NAMES = "DROP TABLE \" LegoSet\" " ;
68
+
68
69
/**
69
70
* Returns a database either hosted locally or running inside Docker.
70
71
*
@@ -162,9 +163,9 @@ public static DataSource createDataSource(ExternalDatabase database) {
162
163
163
164
DriverManagerDataSource dataSource = new DriverManagerDataSource ();
164
165
166
+ dataSource .setUrl (database .getJdbcUrl ().replace (":xe" , "/XEPDB1" ));
165
167
dataSource .setUsername (database .getUsername ());
166
168
dataSource .setPassword (database .getPassword ());
167
- dataSource .setUrl (database .getJdbcUrl ().replace (":xe" , "/XEPDB1" ));
168
169
169
170
return dataSource ;
170
171
}
You can’t perform that action at this time.
0 commit comments