diff --git a/hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlLexer.g4 b/hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlLexer.g4 index f1808aab86..d2669e6b7f 100644 --- a/hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlLexer.g4 +++ b/hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlLexer.g4 @@ -307,7 +307,7 @@ SET : [sS] [eE] [tT]; SIZE : [sS] [iI] [zZ] [eE]; SOME : [sS] [oO] [mM] [eE]; SUBSTRING : [sS] [uU] [bB] [sS] [tT] [rR] [iI] [nN] [gG]; -SUM : [sS] [uM] [mM]; +SUM : [sS] [uU] [mM]; THEN : [tT] [hH] [eE] [nN]; TIES : [tT] [iI] [eE] [sS]; TIME : [tT] [iI] [mM] [eE];