From a42c52615e2054ed8d0ed19371b9ba41382e7034 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Wed, 19 Oct 2022 13:20:45 +0200 Subject: [PATCH] HHH-15613 remove 'lateral' from fromRoot rule it means the same thing as 'join lateral', and is currently ignored by HQL --- .../src/main/antlr/org/hibernate/grammars/hql/HqlParser.g4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlParser.g4 b/hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlParser.g4 index a5a7fa8ead..279cf84587 100644 --- a/hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlParser.g4 +++ b/hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlParser.g4 @@ -176,8 +176,8 @@ entityWithJoins * A root entity declaration in the 'from' clause, with optional identification variable */ fromRoot - : entityName variable? # RootEntity - | LATERAL? LEFT_PAREN subquery RIGHT_PAREN variable? # RootSubquery + : entityName variable? # RootEntity + | LEFT_PAREN subquery RIGHT_PAREN variable? # RootSubquery ; /**