HHH-3032 Sybase restriction of using alias in sub-query
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20713 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
685ddb254e
commit
b21ae56c67
|
@ -32,6 +32,7 @@ import javax.persistence.criteria.Join;
|
||||||
import javax.persistence.criteria.Root;
|
import javax.persistence.criteria.Root;
|
||||||
import javax.persistence.criteria.Subquery;
|
import javax.persistence.criteria.Subquery;
|
||||||
|
|
||||||
|
import org.hibernate.dialect.SybaseASE15Dialect;
|
||||||
import org.hibernate.ejb.metamodel.AbstractMetamodelSpecificTest;
|
import org.hibernate.ejb.metamodel.AbstractMetamodelSpecificTest;
|
||||||
import org.hibernate.ejb.metamodel.Customer;
|
import org.hibernate.ejb.metamodel.Customer;
|
||||||
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.LineItem_;
|
import org.hibernate.ejb.metamodel.LineItem_;
|
||||||
import org.hibernate.ejb.metamodel.Order;
|
import org.hibernate.ejb.metamodel.Order;
|
||||||
import org.hibernate.ejb.metamodel.Order_;
|
import org.hibernate.ejb.metamodel.Order_;
|
||||||
|
import org.hibernate.testing.junit.SkipForDialect;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TODO : javadoc
|
* TODO : javadoc
|
||||||
|
@ -86,6 +88,7 @@ public class CorrelatedSubqueryTest extends AbstractMetamodelSpecificTest {
|
||||||
em.close();
|
em.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SkipForDialect(value=SybaseASE15Dialect.class, jiraKey="HHH-3032")
|
||||||
public void testCorrelationExplicitSelectionCorrelation() {
|
public void testCorrelationExplicitSelectionCorrelation() {
|
||||||
CriteriaBuilder builder = factory.getCriteriaBuilder();
|
CriteriaBuilder builder = factory.getCriteriaBuilder();
|
||||||
EntityManager em = getOrCreateEntityManager();
|
EntityManager em = getOrCreateEntityManager();
|
||||||
|
|
Loading…
Reference in New Issue