File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed
hibernate-reactive-core/src/test/java/org/hibernate/reactive Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 16
16
import javax .persistence .Table ;
17
17
18
18
import org .hibernate .cfg .Configuration ;
19
+ import org .hibernate .reactive .testing .DatabaseSelectionRule ;
19
20
20
21
import org .junit .After ;
21
22
import org .junit .Before ;
23
+ import org .junit .Rule ;
22
24
import org .junit .Test ;
23
25
24
26
import io .smallrye .mutiny .Uni ;
25
27
import io .vertx .ext .unit .TestContext ;
26
28
27
29
import static org .assertj .core .api .Assertions .assertThat ;
30
+ import static org .hibernate .reactive .containers .DatabaseConfiguration .DBType .DB2 ;
31
+ import static org .hibernate .reactive .testing .DatabaseSelectionRule .skipTestsFor ;
28
32
29
33
/**
30
34
* Tests @{@link ElementCollection} on a {@link List} of basic types.
43
47
*/
44
48
public class EagerElementCollectionForBasicTypeListTest extends BaseReactiveTest {
45
49
50
+ @ Rule
51
+ public DatabaseSelectionRule db2WithVertx4BugRule = skipTestsFor ( DB2 );
52
+
46
53
private Person thePerson ;
47
54
48
55
protected Configuration constructConfiguration () {
Original file line number Diff line number Diff line change 5
5
*/
6
6
package org .hibernate .reactive ;
7
7
8
- import io .vertx .ext .unit .TestContext ;
8
+ import java .util .Objects ;
9
+ import javax .persistence .Entity ;
10
+ import javax .persistence .FetchType ;
11
+ import javax .persistence .Id ;
12
+ import javax .persistence .ManyToOne ;
13
+ import javax .persistence .OneToOne ;
14
+ import javax .persistence .Table ;
15
+
9
16
import org .hibernate .cfg .Configuration ;
17
+ import org .hibernate .reactive .testing .DatabaseSelectionRule ;
10
18
11
19
import org .junit .After ;
20
+ import org .junit .Rule ;
12
21
import org .junit .Test ;
13
22
14
- import javax .persistence .*;
15
- import java .util .Objects ;
23
+ import io .vertx .ext .unit .TestContext ;
16
24
25
+ import static org .hibernate .reactive .containers .DatabaseConfiguration .DBType .DB2 ;
26
+ import static org .hibernate .reactive .testing .DatabaseSelectionRule .skipTestsFor ;
17
27
import static org .hibernate .reactive .util .impl .CompletionStages .completedFuture ;
18
28
19
29
public class EagerOneToOneAssociationTest extends BaseReactiveTest {
20
30
31
+ @ Rule
32
+ public DatabaseSelectionRule db2WithVertx4BugRule = skipTestsFor ( DB2 );
33
+
21
34
@ Override
22
35
protected Configuration constructConfiguration () {
23
36
Configuration configuration = super .constructConfiguration ();
You can’t perform that action at this time.
0 commit comments