From 582050fe7df4053cad913665269730096eceaf69 Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Tue, 19 Aug 2025 10:55:11 +0200 Subject: [PATCH] HHH-19717 CockroachDB supports insert and update returning clause --- .../main/java/org/hibernate/dialect/CockroachDialect.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/CockroachDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/CockroachDialect.java index 5c11e834894d..e91780bb0515 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/CockroachDialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/CockroachDialect.java @@ -1005,6 +1005,11 @@ public boolean supportsOffsetInSubquery() { return true; } + @Override + public boolean supportsInsertReturning() { + return true; + } + @Override public boolean supportsWindowFunctions() { return true;