
异常出错
beenin
这个作者很懒,什么都没留下…
展开
-
java.lang.IllegalArgumentException: id to load is required for loading
通常是查询数据库时 某个字段的值为NULL 如:where e.xsrq = null原创 2009-10-19 16:09:00 · 575 阅读 · 0 评论 -
org.hibernate.hql.ast.QuerySyntaxException : unexpected token:
org.hibernate.hql.ast.QuerySyntaxException hibernate hql语法错误 。。。原创 2009-12-03 16:11:00 · 541 阅读 · 0 评论 -
javax.persistence.TransactionRequiredException: no transaction is in progress
(暂)通常是因为不适当的flush() 引起异常的 。。。 When persisting a transient entity during manual flush, an exception"javax.persistence.TransactionRequiredException: no transaction is inprogress" is thrown原创 2009-12-04 16:15:00 · 5040 阅读 · 0 评论 -
java.lang.IllegalArgumentException: node to traverse cannot be null!
问题解决:出现这种问题是因为HQL语句出现问题,引起内部查询对象为空,无法处理为空值引起的。解决方法,检查HQL语句(尤其是关键字)。原创 2010-04-20 14:27:00 · 1651 阅读 · 0 评论