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:
Strong Liu 2010-05-02 14:36:40 +00:00
parent c0cb52711a
commit 8bc9bbf098
1 changed files with 1 additions and 1 deletions

View File

@ -511,7 +511,7 @@ public class ASTParserLoadingTest extends FunctionalTestCase {
list.add( new Id("123456789", order.getId().getOrderNumber(), "1234") );
query.setParameterList( "idList", list );
assertEquals( 2, query.list().size() );
s.getTransaction().commit();
s.getTransaction().rollback();
s.close();
}