首页 > 编程语言 > 详细

springBoot JPA PageAble分页查询出错,PropertyReferenceException: No property creation found for type

时间:2019-04-18 21:45:32      阅读:593      评论:0      收藏:0      [点我收藏+]

PropertyReferenceException: No property creation found for type

 

@RequestParam(required = false, defaultValue = "1") Integer page,
@RequestParam(required = false, defaultValue = "10") Integer size,
@RequestParam(required = false, defaultValue = "DESC") String direction,
@RequestParam(required = false, defaultValue = "creationTime") String sort) {

分页属性默认值不能有下划线,和实体类相关时要和实体类名称一致 ,不然会出错 No property creation found for type

 

springBoot JPA PageAble分页查询出错,PropertyReferenceException: No property creation found for type

原文:https://www.cnblogs.com/CHWLearningNotes/p/10732412.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!