
hibernate
文章平均质量分 57
茉莉花茶
这个作者很懒,什么都没留下…
展开
-
Negative value (-100) passed to setFirstResult
javax.xml.ws.soap.SOAPFaultException: Negative value (-100) passed to setMaxResults 调用接口时报了这个错误,一开始没有注意,觉得之前都没有错误,怎么就报错了,后面仔细一看,发现是传过去的参数current page 是0. orderService.getOrderPage(i, 100), 也是 i 是0原创 2016-02-16 11:27:51 · 2899 阅读 · 1 评论 -
MailNoInfo is not mapped [ select o from MailNoInfo o where o.mailNo in(:mailNo)]
添加了一个pojo类,在查询时却报了下面的错误: Exception in thread "main" java.lang.IllegalArgumentException: org.hibernate.hql.internal.ast.QuerySyntaxException: MailNoInfo is not mapped [ select o from MailNoInfo o原创 2016-03-30 10:10:33 · 911 阅读 · 0 评论 -
nested exception is java.lang.IllegalArgumentException: Parameter with that position [1] did not exi
java.lang.IllegalArgumentException: Parameter with that position [1] did not exist org.hibernate.jpa.spi.BaseQueryImpl.findParameterRegistration(BaseQueryImpl.java:502) org.hibernate.jpa.spi.BaseQue原创 2016-12-16 16:29:25 · 15216 阅读 · 0 评论