org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
表的4列分别是主键ID和department,need,position
------解决思路----------------------
Caused by: java.sql.BatchUpdateException: Column 'need' cannot be null
列need不能为空
------解决思路----------------------
路上正解呀,你报错里都有这个提示