File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/criteria/selectcase Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 35
35
import javax .persistence .criteria .Root ;
36
36
import java .util .List ;
37
37
38
+ import org .hibernate .dialect .H2Dialect ;
39
+ import org .hibernate .dialect .HSQLDialect ;
38
40
import org .hibernate .jpa .criteria .expression .ConcatExpression ;
39
41
import org .hibernate .jpa .criteria .expression .ExpressionImpl ;
40
42
import org .hibernate .jpa .criteria .expression .function .AbsFunction ;
41
43
import org .hibernate .jpa .test .BaseEntityManagerFunctionalTestCase ;
42
44
43
45
import org .junit .Test ;
44
46
47
+ import org .hibernate .testing .RequiresDialect ;
48
+ import org .hibernate .testing .RequiresDialects ;
45
49
import org .hibernate .testing .TestForIssue ;
46
50
47
51
@ TestForIssue ( jiraKey = "HHH-9731" )
@@ -53,6 +57,7 @@ protected Class<?>[] getAnnotatedClasses() {
53
57
}
54
58
55
59
@ Test
60
+ @ RequiresDialect (value = H2Dialect .class , jiraKey = "HHH-10143" )
56
61
public void selectCaseWithValuesShouldWork () {
57
62
EntityManager entityManager = getOrCreateEntityManager ();
58
63
CriteriaBuilder cb = entityManager .getCriteriaBuilder ();
@@ -88,6 +93,7 @@ public void selectCaseWithCastedTypeValuesShouldWork() {
88
93
}
89
94
90
95
@ Test
96
+ @ RequiresDialect (value = H2Dialect .class , jiraKey = "HHH-10143" )
91
97
public void simpleSelectCaseWithValuesShouldWork () {
92
98
EntityManager entityManager = getOrCreateEntityManager ();
93
99
You can’t perform that action at this time.
0 commit comments