HHH-4961 HHH-4970 HHH-4973 skip some tests that ingres does not support this syntax
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19165 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
6fdc0c0c69
commit
7123491afe
|
@ -27,6 +27,7 @@ import org.hibernate.cfg.Configuration;
|
||||||
import org.hibernate.cfg.Environment;
|
import org.hibernate.cfg.Environment;
|
||||||
import org.hibernate.dialect.DB2Dialect;
|
import org.hibernate.dialect.DB2Dialect;
|
||||||
import org.hibernate.dialect.HSQLDialect;
|
import org.hibernate.dialect.HSQLDialect;
|
||||||
|
import org.hibernate.dialect.IngresDialect;
|
||||||
import org.hibernate.dialect.MySQLDialect;
|
import org.hibernate.dialect.MySQLDialect;
|
||||||
import org.hibernate.dialect.Oracle8iDialect;
|
import org.hibernate.dialect.Oracle8iDialect;
|
||||||
import org.hibernate.dialect.PostgreSQLDialect;
|
import org.hibernate.dialect.PostgreSQLDialect;
|
||||||
|
@ -237,6 +238,10 @@ public class ASTParserLoadingTest extends FunctionalTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testPaginationWithPolymorphicQuery() {
|
public void testPaginationWithPolymorphicQuery() {
|
||||||
|
if ( getDialect() instanceof IngresDialect ) {
|
||||||
|
// HHH-4961 Ingres does not support this scoping in 9.3.
|
||||||
|
return;
|
||||||
|
}
|
||||||
Session s = openSession();
|
Session s = openSession();
|
||||||
s.beginTransaction();
|
s.beginTransaction();
|
||||||
Human h = new Human();
|
Human h = new Human();
|
||||||
|
@ -704,6 +709,11 @@ public class ASTParserLoadingTest extends FunctionalTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testComponentParameterBinding() {
|
public void testComponentParameterBinding() {
|
||||||
|
if ( getDialect() instanceof IngresDialect ) {
|
||||||
|
// HHH-4970 Subselects are not supported within select target lists
|
||||||
|
// in Ingres
|
||||||
|
return;
|
||||||
|
}
|
||||||
// HHH-1774 : parameters are bound incorrectly with component parameters...
|
// HHH-1774 : parameters are bound incorrectly with component parameters...
|
||||||
Session s = openSession();
|
Session s = openSession();
|
||||||
s.beginTransaction();
|
s.beginTransaction();
|
||||||
|
@ -1107,6 +1117,11 @@ public class ASTParserLoadingTest extends FunctionalTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testSelectClauseSubselect() {
|
public void testSelectClauseSubselect() {
|
||||||
|
if ( getDialect() instanceof IngresDialect ) {
|
||||||
|
// HHH-4973 Ingres 9.3 does not support sub-selects in the select
|
||||||
|
// list.
|
||||||
|
return;
|
||||||
|
}
|
||||||
Session s = openSession();
|
Session s = openSession();
|
||||||
Transaction t = s.beginTransaction();
|
Transaction t = s.beginTransaction();
|
||||||
Zoo zoo = new Zoo();
|
Zoo zoo = new Zoo();
|
||||||
|
|
Loading…
Reference in New Issue