HHH-6867 skip org.hibernate.test.criteria.CriteriaQueryTest#testMultiplePropertiesSubquery on DB2 since DB2 doesn't support this tuple sql syntax
This commit is contained in:
parent
3c3a74e010
commit
2e0e130cbe
|
@ -1783,7 +1783,6 @@ public class CriteriaQueryTest extends BaseCoreFunctionalTestCase {
|
|||
|
||||
session = openSession();
|
||||
tx = session.beginTransaction();
|
||||
if ( getDialect().supportsRowValueConstructorSyntax() ) {
|
||||
sizeQuery = DetachedCriteria.forClass( Man.class ).setProjection(
|
||||
Projections.projectionList().add( Projections.property( "weight" ) )
|
||||
.add( Projections.property( "height" ) )
|
||||
|
@ -1791,6 +1790,7 @@ public class CriteriaQueryTest extends BaseCoreFunctionalTestCase {
|
|||
.add(
|
||||
Restrictions.ne( "name", "Lukasz" )
|
||||
);
|
||||
if ( getDialect().supportsRowValueConstructorSyntax() ) {
|
||||
result = session.createCriteria( Woman.class )
|
||||
.add( Subqueries.propertiesNotEq( new String[] { "weight", "height" }, sizeQuery ) )
|
||||
.list();
|
||||
|
|
Loading…
Reference in New Issue