BAEL-3961 Make the program more robust by only create the table when necessary and clean all data in the temp table.

This commit is contained in:
Gang Wu
2020-04-14 19:23:11 -06:00
parent 63027fd269
commit 78e180f35d
2 changed files with 7 additions and 1 deletions
@@ -98,5 +98,10 @@ public class EmployeeDAOUnitTest {
assertEquals(1, employees.get(0).getId());
assertEquals(3, employees.get(1).getId());
assertEquals(4, employees.get(2).getId());
ids.clear();
ids.add(2);
employees = employeeDAO.getEmployeesFromLargeIdList(ids);
assertEquals(1, employees.size());
}
}