From eb85932c420bc67a2499841374c23bbeb2340756 Mon Sep 17 00:00:00 2001 From: Gail Badner Date: Tue, 13 Aug 2019 23:16:45 -0700 Subject: [PATCH] HHH-13571 : Test failures due to cross joined table out of scope of a subsequent JOIN on Sybase (cherry picked from commit 9988d677b955154d188671cc0086153444b3e70c) --- .../src/test/java/org/hibernate/test/hql/EntityJoinTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hibernate-core/src/test/java/org/hibernate/test/hql/EntityJoinTest.java b/hibernate-core/src/test/java/org/hibernate/test/hql/EntityJoinTest.java index e140b5b091..7efff1e585 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/hql/EntityJoinTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/hql/EntityJoinTest.java @@ -16,9 +16,11 @@ import javax.persistence.ManyToOne; import javax.persistence.Table; import org.hibernate.annotations.NaturalId; +import org.hibernate.dialect.SybaseDialect; import org.hibernate.engine.query.spi.HQLQueryPlan; import org.hibernate.hql.spi.QueryTranslator; +import org.hibernate.testing.SkipForDialect; import org.hibernate.testing.TestForIssue; import org.hibernate.testing.junit4.BaseNonConfigCoreFunctionalTestCase; import org.junit.After; @@ -105,6 +107,7 @@ public class EntityJoinTest extends BaseNonConfigCoreFunctionalTestCase { @Test @TestForIssue(jiraKey = "HHH-11337") + @SkipForDialect(SybaseDialect.class) public void testLeftOuterEntityJoinsWithImplicitInnerJoinInSelectClause() { doInHibernate( this::sessionFactory, session -> { // this should get all financial records even if their lastUpdateBy user is null