Hello!
I’ve a MySQL database named Reports. This database has departments, users, etc. tables.
When I try to insert from code a new department using
DepartmentsDAO depDAO = new DepartmentsDAO();
Departments dep = new Departments();
dep.setDeptName("SAP");
depDAO.save(dep);
I’ve got the following error:
10:35:38,250 DEBUG JDBCExceptionReporter:63 – could not insert: [com.forte.hibernate.Departments] [insert into reports__departments (dept_name) values (?)]
java.sql.SQLException: Table ‘reports.reports__departments’ doesn’t exist
Does anyone know what can be the problem?
Thank you very much
With best regards,
Sorin N. Ciolofan