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 3535import javax .persistence .criteria .Root ;
3636import java .util .List ;
3737
38+ import org .hibernate .dialect .H2Dialect ;
39+ import org .hibernate .dialect .HSQLDialect ;
3840import org .hibernate .jpa .criteria .expression .ConcatExpression ;
3941import org .hibernate .jpa .criteria .expression .ExpressionImpl ;
4042import org .hibernate .jpa .criteria .expression .function .AbsFunction ;
4143import org .hibernate .jpa .test .BaseEntityManagerFunctionalTestCase ;
4244
4345import org .junit .Test ;
4446
47+ import org .hibernate .testing .RequiresDialect ;
48+ import org .hibernate .testing .RequiresDialects ;
4549import org .hibernate .testing .TestForIssue ;
4650
4751@ TestForIssue ( jiraKey = "HHH-9731" )
@@ -53,6 +57,7 @@ protected Class<?>[] getAnnotatedClasses() {
5357 }
5458
5559 @ Test
60+ @ RequiresDialect (value = H2Dialect .class , jiraKey = "HHH-10143" )
5661 public void selectCaseWithValuesShouldWork () {
5762 EntityManager entityManager = getOrCreateEntityManager ();
5863 CriteriaBuilder cb = entityManager .getCriteriaBuilder ();
@@ -88,6 +93,7 @@ public void selectCaseWithCastedTypeValuesShouldWork() {
8893 }
8994
9095 @ Test
96+ @ RequiresDialect (value = H2Dialect .class , jiraKey = "HHH-10143" )
9197 public void simpleSelectCaseWithValuesShouldWork () {
9298 EntityManager entityManager = getOrCreateEntityManager ();
9399
You can’t perform that action at this time.
0 commit comments