HHH-3637 - makes the test to be evicted if the Dialect is the Sybase one, based on similar eviction code from other tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15678 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
8719e10c1c
commit
7a9b8ba19c
|
@ -27,6 +27,7 @@ import org.hibernate.criterion.Restrictions;
|
|||
import org.hibernate.criterion.DetachedCriteria;
|
||||
import org.hibernate.criterion.Property;
|
||||
import org.hibernate.criterion.Subqueries;
|
||||
import org.hibernate.dialect.SybaseDialect;
|
||||
import org.hibernate.engine.SessionImplementor;
|
||||
import org.hibernate.impl.SessionFactoryImpl;
|
||||
import org.hibernate.junit.functional.FunctionalTestCase;
|
||||
|
@ -70,6 +71,10 @@ public class DynamicFilterTest extends FunctionalTestCase {
|
|||
}
|
||||
|
||||
public void testSqlSyntaxOfFiltersWithUnions() {
|
||||
// HHH-3637 - Union in where doesn't works for Sybase, need to evict test case
|
||||
if ( ( getDialect() instanceof SybaseDialect) ) {
|
||||
return;
|
||||
}
|
||||
Session session = openSession();
|
||||
session.enableFilter( "unioned" );
|
||||
session.createQuery( "from Category" ).list();
|
||||
|
|
Loading…
Reference in New Issue