摘要: 初次使用Hibernate,进行junit测试,报如下错误。 原因:Hibernate帮我们管理主键了,我们不需要对主键赋值,并且主键是自增的。所以在数据库中,逐渐选项应当勾选 org.hibernate.exception.GenericJDBCException: could not execu 阅读全文
posted @ 2017-12-22 21:16 刘旭是一头小水猪 阅读(26550) 评论(0) 推荐(0) 编辑