HHH-7156 Make Hibernate ORM compile and run tests using JDK 7 (and JDK 6)

This commit is contained in:
Strong Liu 2012-03-13 23:19:08 +08:00
parent b51b2ff4cb
commit c943285bbd
1 changed files with 1 additions and 0 deletions

View File

@ -161,6 +161,7 @@ public class ConcurrentWriteTest extends SingleNodeTestCase {
@Test @Test
public void testSingleUser() throws Exception { public void testSingleUser() throws Exception {
// setup // setup
sessionFactory().getStatistics().clear();
Customer customer = createCustomer( 0 ); Customer customer = createCustomer( 0 );
final Integer customerId = customer.getId(); final Integer customerId = customer.getId();
getCustomerIDs().add( customerId ); getCustomerIDs().add( customerId );