Project:
View Revisions: Issue #37708 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0037708: Update of Order table not working in HQL | ||
Revision | 2018-01-23 18:56 by aferraz | ||
Steps To Reproduce | Create following HQL query: Query updateQry = OBDal.getInstance().getSession().createQuery("update Order set description = 'a'"); You get following error: java.lang.IllegalArgumentException: node to traverse cannot be null! If we create the same query for Invoice table instead of Order table, query is correctly created: Query updateQry = OBDal.getInstance().getSession().createQuery("update Invoice set description = 'a'"); It seems that Hibernate is confusing Order table name with order by keyword. |
||
Revision | 2018-01-23 18:53 by aferraz | ||
Steps To Reproduce | Create following HQL query: Query updateQry = OBDal.getInstance().getSession().createQuery("update Order set description = 'a'"); You get following error: java.lang.IllegalArgumentException: node to traverse cannot be null! If we create the same query for Invoice table instead of Order table, query is correctly created: Query updateQry = OBDal.getInstance().getSession().createQuery("update Invoice set description = 'a'"); |
||
Revision | 2018-01-23 18:52 by aferraz | ||
Steps To Reproduce | Create following HQL query: Query updateQry = OBDal.getInstance().getSession().createQuery("update Order set description = 'a'"); You get following error: node to traverse cannot be null! If we create the same query for Invoice table instead of Order table, query is correctly created: Query updateQry = OBDal.getInstance().getSession().createQuery("update Invoice set description = 'a'"); |
Copyright © 2000 - 2009 MantisBT Group |