摘要:
1 type Exception report 2 3 message 4 5 description The server encountered an internal error that prevented it from fulfilling this request. 6 7 e... 阅读全文
摘要:
错误原因:我设置的Id的类型是:自动增长型(如下),但是我在数据库中设置的Id确是:int类型。所以类型不匹配。导致返回:org.hibernate.HibernateException:数据库返回的没有本地生成的标识值的错误。@Id @GeneratedValue public int getId... 阅读全文