From 519a469b118704e7d83a89e1250b4b1d28bd5be1 Mon Sep 17 00:00:00 2001 From: Brett Meyer Date: Tue, 9 Jul 2013 13:05:58 -0400 Subject: [PATCH] HHH-8318 @SkipForDialect added --- .../hibernate/test/hql/DeleteWhereMemberOfTest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hibernate-core/src/test/java/org/hibernate/test/hql/DeleteWhereMemberOfTest.java b/hibernate-core/src/test/java/org/hibernate/test/hql/DeleteWhereMemberOfTest.java index a2c9aeabb7..52253e413b 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/hql/DeleteWhereMemberOfTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/hql/DeleteWhereMemberOfTest.java @@ -24,15 +24,15 @@ package org.hibernate.test.hql; import org.hibernate.Session; - -import org.junit.Test; - -import org.hibernate.testing.TestForIssue; -import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase; +import org.hibernate.dialect.MySQLDialect; import org.hibernate.test.annotations.query.Attrset; import org.hibernate.test.annotations.query.Attrvalue; import org.hibernate.test.annotations.query.Employee; import org.hibernate.test.annotations.query.Employeegroup; +import org.hibernate.testing.SkipForDialect; +import org.hibernate.testing.TestForIssue; +import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase; +import org.junit.Test; /** * @author Steve Ebersole @@ -51,7 +51,7 @@ public class DeleteWhereMemberOfTest extends BaseCoreFunctionalTestCase { @Test @TestForIssue( jiraKey = "HHH-8318" ) -// @FailureExpected( jiraKey = "HHH-8318" ) + @SkipForDialect( value = MySQLDialect.class, comment = "Cannot use Attrvalue in the delete and from clauses simultaneously." ) public void testDeleteMemberOf() { final String qry = "delete Attrvalue aval where aval.id in ( " + "select val2.id from Employee e, Employeegroup eg, Attrset aset, Attrvalue val2 "