diff --git a/ebean-test/src/test/java/org/tests/query/TestDistinctOnQuery.java b/ebean-test/src/test/java/org/tests/query/TestDistinctOnQuery.java index a288087e48..6602162336 100644 --- a/ebean-test/src/test/java/org/tests/query/TestDistinctOnQuery.java +++ b/ebean-test/src/test/java/org/tests/query/TestDistinctOnQuery.java @@ -57,7 +57,7 @@ void distinctOnSubQuery() { .setMaxRows(10); List lines = DB.find(OrderDetail.class) - .select("product, orderQty, shipQty, created") + .select("product, orderQty, shipQty, cretime") .where().in("id", subQuery) .orderBy().asc("cretime") .findList();