diff --git a/hibernate-core/src/main/antlr/sql-gen.g b/hibernate-core/src/main/antlr/sql-gen.g index 159d78183f..a94b13c3d7 100644 --- a/hibernate-core/src/main/antlr/sql-gen.g +++ b/hibernate-core/src/main/antlr/sql-gen.g @@ -246,7 +246,7 @@ selectExpr | aggregate | c:constant { out(c); } | arithmeticExpr - | param:PARAM { out(param); } + | parameter | selectBooleanExpr[false] | sn:SQL_NODE { out(sn); } | { out("("); } selectStatement { out(")"); }