From e1d926356f7a0d3613c5006391b7c643912f3926 Mon Sep 17 00:00:00 2001 From: Christian Beikov Date: Thu, 30 Mar 2023 14:26:23 +0200 Subject: [PATCH] HHH-16404 SkipFirstLimitHandler calls insertAfterSelect with parameter in wrong order --- .../community/dialect/pagination/SkipFirstLimitHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/pagination/SkipFirstLimitHandler.java b/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/pagination/SkipFirstLimitHandler.java index 819b7e98f1..cf0fca2e9d 100644 --- a/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/pagination/SkipFirstLimitHandler.java +++ b/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/pagination/SkipFirstLimitHandler.java @@ -55,7 +55,7 @@ public class SkipFirstLimitHandler extends AbstractLimitHandler { } } - return insertAfterSelect( sql, skipFirst.toString() ); + return insertAfterSelect( skipFirst.toString(), sql ); } @Override