org.hibernate.TypeMismatchException:Provided id of the wrong type for class ...
报错:org.hibernate.TypeMismatchException: Provided id of the wrong type for class …一、报错情景:在Dao中使用hibernateTemplate从数据库查询一条数据,函数为:public User findByUsername(String username) {return this.hibernateTemp...
原创
2019-04-17 11:17:33 ·
1513 阅读 ·
0 评论