From d625e15192c68be07059f78003c3a25ba6db2678 Mon Sep 17 00:00:00 2001 From: Chris Cranford Date: Wed, 14 Nov 2018 17:06:40 -0500 Subject: [PATCH] HHH-13104 - Fix Oracle 12c to return 'default' for identifier column in insert-statement. --- .../dialect/identity/Oracle12cIdentityColumnSupport.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/identity/Oracle12cIdentityColumnSupport.java b/hibernate-core/src/main/java/org/hibernate/dialect/identity/Oracle12cIdentityColumnSupport.java index 8f5d3e1b25..c0990d68b7 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/identity/Oracle12cIdentityColumnSupport.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/identity/Oracle12cIdentityColumnSupport.java @@ -33,4 +33,9 @@ public class Oracle12cIdentityColumnSupport extends IdentityColumnSupportImpl { PostInsertIdentityPersister persister, Dialect dialect) { return new Oracle12cGetGeneratedKeysDelegate( persister, dialect ); } + + @Override + public String getIdentityInsertString() { + return "default"; + } }