From eadd9ae4bb6452a237859dafdd2b1ed2da9e3185 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Mon, 11 Nov 2019 17:50:29 -0600 Subject: [PATCH] HHH-13715 - working support for "multi-table" HQL/Criteria UPDATE and DELETE queries; work on CTE-base multi-table handling --- .../src/main/java/org/hibernate/dialect/MariaDBDialect.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/MariaDBDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/MariaDBDialect.java index d419798275..71d21dbda6 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/MariaDBDialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/MariaDBDialect.java @@ -23,6 +23,11 @@ public class MariaDBDialect extends MySQL5Dialect { return true; } + @Override + public boolean supportsNonQueryWithCTE() { + return true; + } + @Override public SqmMultiTableMutationStrategy getFallbackSqmMutationStrategy( EntityMappingType rootEntityDescriptor,