jpa findOne()用法

findOne(Interger id)

如果实体类没有id这个属性的话是会报错的

 

 

改别人的代码神烦。。。

posted @ 2016-12-15 16:55  Lost blog  阅读(2680)  评论(0)    收藏  举报