Shouldn't drop a non-existent table!

This commit is contained in:
Ali Dehghani
2019-10-28 00:23:41 +03:30
parent 39a07fa7b8
commit 0d0b9735ce

View File

@@ -26,7 +26,6 @@ public class CustomClassIntegrationTest {
public void setUp() throws IOException {
session = HibernateUtil.getSessionFactory().openSession();
transaction = session.beginTransaction();
session.createNativeQuery("delete from manager").executeUpdate();
session.createNativeQuery("delete from department").executeUpdate();
Department department = new Department("Sales");
DeptEmployee employee = new DeptEmployee("John Smith", "001", department);