请问:
getHibernateTemplate().save(obj)的时候,报错:javax.servlet.ServletException: org.springframework.dao.DataIntegrityViolationException: Hibernate operation: Could not execute JDBC batch update; SQL [insert into manage_finance.user_info (PassWord, UserName, Sex, Pic, UserProperty, Account) values (?, ?, ?, ?, ?, ?)]我的表中Account是主键,而且是其他表的外键,values中应该是第一列的,怎么会放到最后了呢?应该怎么解决?(SSH)
谢谢大家