From d9a807f2371647cd2739965af07e0104ed56e779 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Sat, 9 Nov 2024 23:29:09 +0100 Subject: [PATCH] 'number' is a keyword on Oracle Signed-off-by: Gavin King --- .../src/main/java/org/hibernate/dialect/OracleDialect.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java index 47a97d6009..c9c6884df6 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java @@ -289,6 +289,12 @@ public class OracleDialect extends Dialect { } } + @Override + protected void registerDefaultKeywords() { + super.registerDefaultKeywords(); + registerKeyword( "number" ); + } + @Override public void initializeFunctionRegistry(FunctionContributions functionContributions) { super.initializeFunctionRegistry(functionContributions);