From a2781e6654a940ba581a825bb165da0eb05092b2 Mon Sep 17 00:00:00 2001 From: Christian Beikov Date: Wed, 14 Dec 2016 22:32:18 +0100 Subject: [PATCH] Fix for HHH-11340 --- hibernate-core/src/main/antlr/sql-gen.g | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/antlr/sql-gen.g b/hibernate-core/src/main/antlr/sql-gen.g index fd70c3a08e..40d48f0343 100644 --- a/hibernate-core/src/main/antlr/sql-gen.g +++ b/hibernate-core/src/main/antlr/sql-gen.g @@ -305,7 +305,7 @@ fromTable // Write the table node (from fragment) and all the join fragments associated with it. : #( a:FROM_FRAGMENT { out(a); } (tableJoin [ a ])* { fromFragmentSeparator(a); } ) | #( b:JOIN_FRAGMENT { out(b); } (tableJoin [ b ])* { fromFragmentSeparator(b); } ) - | #( e:ENTITY_JOIN { out(e); } ) + | #( e:ENTITY_JOIN { out(e); } (tableJoin [ e ])* { fromFragmentSeparator(e); } ) ; tableJoin [ AST parent ]