Author: stliu
Date: 2010-09-26 14:10:52 -0400 (Sun, 26 Sep 2010)
New Revision: 20713
Modified:
core/trunk/entitymanager/src/test/java/org/hibernate/ejb/criteria/subquery/CorrelatedSubqueryTest.java
Log:
HHH-3032 Sybase restriction of using alias in sub-query
Modified:
core/trunk/entitymanager/src/test/java/org/hibernate/ejb/criteria/subquery/CorrelatedSubqueryTest.java
===================================================================
---
core/trunk/entitymanager/src/test/java/org/hibernate/ejb/criteria/subquery/CorrelatedSubqueryTest.java 2010-09-26
16:47:04 UTC (rev 20712)
+++
core/trunk/entitymanager/src/test/java/org/hibernate/ejb/criteria/subquery/CorrelatedSubqueryTest.java 2010-09-26
18:10:52 UTC (rev 20713)
@@ -32,6 +32,7 @@
import javax.persistence.criteria.Root;
import javax.persistence.criteria.Subquery;
+import org.hibernate.dialect.SybaseASE15Dialect;
import org.hibernate.ejb.metamodel.AbstractMetamodelSpecificTest;
import org.hibernate.ejb.metamodel.Customer;
import org.hibernate.ejb.metamodel.Customer_;
@@ -39,6 +40,7 @@
import org.hibernate.ejb.metamodel.LineItem_;
import org.hibernate.ejb.metamodel.Order;
import org.hibernate.ejb.metamodel.Order_;
+import org.hibernate.testing.junit.SkipForDialect;
/**
* TODO : javadoc
@@ -86,6 +88,7 @@
em.close();
}
+ @SkipForDialect(value=SybaseASE15Dialect.class, jiraKey="HHH-3032")
public void testCorrelationExplicitSelectionCorrelation() {
CriteriaBuilder builder = factory.getCriteriaBuilder();
EntityManager em = getOrCreateEntityManager();
Show replies by date