BATCH-1759: re-instate clear() in HibernateItemWriter

This commit is contained in:
Dave Syer
2011-06-01 09:45:20 +01:00
parent cc6d5bbaa6
commit dee8715f92
2 changed files with 18 additions and 1 deletions

View File

@@ -81,6 +81,7 @@ public class HibernateItemWriterTests {
expectLastCall().andReturn(false);
ht.saveOrUpdate("bar");
ht.flush();
ht.clear();
replay(ht);
List<String> items = Arrays.asList(new String[] { "foo", "bar" });