File tree 5 files changed +4
-12
lines changed
src/test/java/org/springframework/data/r2dbc
5 files changed +4
-12
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 19
19
20
20
import javax .sql .DataSource ;
21
21
22
- import org .junit .jupiter .api .Disabled ;
23
22
import org .junit .jupiter .api .extension .RegisterExtension ;
24
23
25
24
import org .springframework .data .r2dbc .testing .EnabledOnClass ;
32
31
* @author Mark Paluch
33
32
*/
34
33
@ EnabledOnClass ("oracle.r2dbc.impl.OracleConnectionFactoryProviderImpl" )
35
- @ Disabled ("See https://github.com/oracle/oracle-r2dbc/issues/63" )
36
34
public class OracleDatabaseClientIntegrationTests extends AbstractDatabaseClientIntegrationTests {
37
35
38
36
@ RegisterExtension public static final ExternalDatabase database = OracleTestSupport .database ();
@@ -52,7 +50,4 @@ protected String getCreateTableStatement() {
52
50
return OracleTestSupport .CREATE_TABLE_LEGOSET ;
53
51
}
54
52
55
- @ Override
56
- @ Disabled ("https://github.com/oracle/oracle-r2dbc/issues/9" )
57
- public void executeSelectNamedParameters () {}
58
53
}
Original file line number Diff line number Diff line change 21
21
22
22
import javax .sql .DataSource ;
23
23
24
- import org .junit .jupiter .api .Disabled ;
25
24
import org .junit .jupiter .api .extension .ExtendWith ;
26
25
import org .junit .jupiter .api .extension .RegisterExtension ;
27
26
46
45
@ ExtendWith (SpringExtension .class )
47
46
@ ContextConfiguration
48
47
@ EnabledOnClass ("oracle.r2dbc.impl.OracleConnectionFactoryProviderImpl" )
49
- @ Disabled ("See https://github.com/oracle/oracle-r2dbc/issues/63" )
50
48
public class OracleR2dbcRepositoryIntegrationTests extends AbstractR2dbcRepositoryIntegrationTests {
51
49
52
50
@ RegisterExtension public static final ExternalDatabase database = OracleTestSupport .database ();
Original file line number Diff line number Diff line change 21
21
22
22
import javax .sql .DataSource ;
23
23
24
- import org .junit .jupiter .api .Disabled ;
25
24
import org .junit .jupiter .api .extension .ExtendWith ;
26
25
import org .junit .jupiter .api .extension .RegisterExtension ;
27
26
49
48
@ ExtendWith (SpringExtension .class )
50
49
@ ContextConfiguration
51
50
@ EnabledOnClass ("oracle.r2dbc.impl.OracleConnectionFactoryProviderImpl" )
52
- @ Disabled ("See https://github.com/oracle/oracle-r2dbc/issues/63" )
53
51
public class OracleR2dbcRepositoryWithMixedCaseNamesIntegrationTests
54
52
extends AbstractR2dbcRepositoryWithMixedCaseNamesIntegrationTests {
55
53
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