阅读背景:

hibernate 插入数据时报 could not insert 高手进

来源:互联网 
我在操作一个含有外键的表时插入数据竟然抛出如下错误,望高手指教!不甚感激
org.springframework.dao.DataIntegrityViolationException: could not insert: [com.mwgj.wmw.spring.Wmwusertable]; nested exception is org.hibernate.exception.ConstraintViolationException: could not insert: [com.mwgj.wmw.spring.Wmwusertable] org.spri



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: