From 84b3ea01152b6c7319c6aed105d7d962d575efb6 Mon Sep 17 00:00:00 2001 From: Yanming Zhou Date: Fri, 5 Jul 2024 10:05:35 +0800 Subject: [PATCH] HHH-18334 Fix that Teradata doesn't support variable limit --- .../java/org/hibernate/community/dialect/TeradataDialect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TeradataDialect.java b/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TeradataDialect.java index 69b0687d32..5d9d2a7cb3 100644 --- a/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TeradataDialect.java +++ b/hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TeradataDialect.java @@ -637,7 +637,7 @@ public class TeradataDialect extends Dialect { @Override public LimitHandler getLimitHandler() { - return TopLimitHandler.INSTANCE; + return new TopLimitHandler( false ); } }