can't open jira for now, the change of this commit only changes the methond of testRowValueConstructorSyntaxInInList, instead of transaction commit, here i changed it to rollback, since this may cause other test fails (org.hibernate.NonUniqueResultException: query did not return a unique result: 3)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19342 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
c0cb52711a
commit
8bc9bbf098
|
@ -511,7 +511,7 @@ public class ASTParserLoadingTest extends FunctionalTestCase {
|
||||||
list.add( new Id("123456789", order.getId().getOrderNumber(), "1234") );
|
list.add( new Id("123456789", order.getId().getOrderNumber(), "1234") );
|
||||||
query.setParameterList( "idList", list );
|
query.setParameterList( "idList", list );
|
||||||
assertEquals( 2, query.list().size() );
|
assertEquals( 2, query.list().size() );
|
||||||
s.getTransaction().commit();
|
s.getTransaction().rollback();
|
||||||
s.close();
|
s.close();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue