org.hibernate.exception.ConstraintViolationException: could not insert: [com.tes
数据库中有字段设置long varchar
用hibernate工具自动生成news.hbm.xml时,该字段的属性为type="java.lang.String"
改成type="string"之后错误消失
还不知道为什么
数据库中有字段设置long varchar
用hibernate工具自动生成news.hbm.xml时,该字段的属性为type="java.lang.String"
改成type="string"之后错误消失
还不知道为什么
暂无评论。
评论功能维护中,当前仅展示历史评论。