Updates to continue debugging

This commit is contained in:
Michael Minella
2015-04-14 14:10:51 -04:00
parent d42692cc7a
commit 37e7ad61b7
2 changed files with 5 additions and 1 deletions

View File

@@ -155,7 +155,7 @@ subprojects { subproject ->
append = false
destinationFile = file("$buildDir/jacoco.exec")
}
testLogging {
showStandardStreams = true
}

View File

@@ -89,10 +89,14 @@ public class JdbcPagingItemReaderAsyncTests {
JdbcTemplate jdbcTemplate = new JdbcTemplate(dataSource);
System.out.println("********* jdbcTemplate = " + jdbcTemplate);
maxId = jdbcTemplate.queryForObject("SELECT MAX(ID) from T_FOOS", Integer.class);
System.out.println("********* maxId after = " + maxId);
for (int i = ITEM_COUNT; i > maxId; i--) {
System.out.println("********* inserting a foo");
jdbcTemplate.update("INSERT into T_FOOS (ID,NAME,VALUE) values (?, ?, ?)", i, "foo" + i, i);
System.out.println("********* a foo was inserted");
}
assertEquals(ITEM_COUNT, JdbcTestUtils.countRowsInTable(jdbcTemplate, "T_FOOS"));
System.out.println("******** init is complete");
}
@After