Skip to content

Commit d9a807f

Browse files
committed
'number' is a keyword on Oracle
Signed-off-by: Gavin King <[email protected]>
1 parent fd0c1ba commit d9a807f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,12 @@ public void appendBooleanValueString(SqlAppender appender, boolean bool) {
289289
}
290290
}
291291

292+
@Override
293+
protected void registerDefaultKeywords() {
294+
super.registerDefaultKeywords();
295+
registerKeyword( "number" );
296+
}
297+
292298
@Override
293299
public void initializeFunctionRegistry(FunctionContributions functionContributions) {
294300
super.initializeFunctionRegistry(functionContributions);

0 commit comments

Comments
 (0)