From 6d5f7403378e4b2be87518138c5ac29beb707cc4 Mon Sep 17 00:00:00 2001 From: Rob Bygrave Date: Fri, 20 Sep 2024 21:21:57 +1200 Subject: [PATCH] TestQueryPaging example to H2 and Postgres due to use of nulls first nulls first isn't supports by mysql --- ebean-test/src/test/java/org/tests/query/TestQueryPaging.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ebean-test/src/test/java/org/tests/query/TestQueryPaging.java b/ebean-test/src/test/java/org/tests/query/TestQueryPaging.java index 870bf0fe1c..fa6652befb 100644 --- a/ebean-test/src/test/java/org/tests/query/TestQueryPaging.java +++ b/ebean-test/src/test/java/org/tests/query/TestQueryPaging.java @@ -3,8 +3,10 @@ import io.ebean.DB; import io.ebean.OrderBy; import io.ebean.Paging; +import io.ebean.annotation.Platform; import io.ebean.test.LoggedSql; import io.ebean.xtest.BaseTestCase; +import io.ebean.xtest.ForPlatform; import org.junit.jupiter.api.Test; import org.tests.model.basic.Contact; import org.tests.model.basic.ResetBasicData; @@ -15,6 +17,7 @@ class TestQueryPaging extends BaseTestCase { + @ForPlatform({Platform.H2, Platform.POSTGRES}) @Test void example() { var orderBy = OrderBy.of("lastName desc nulls first, firstName asc");