Hi,
I' ve entity following entity:
Code:
<hibernate-mapping>
<class entity-name="Order" name="Order"table=""ORDER"">
................
</class>
</hibernate-mapping>
When I'm tryin to execute HQL Query like this :
Code:
UPDATE Order t SET t.description=?
WHERE t IN (FROM Order t WHERE t.id=? )
exception occures java.lang.IllegalArgumentException: node to traverse cannot be null!
If I change entity name on string which is not hibernate key-word, the update execute correctly. But the problem is, that I can't change entity-name.
Is there any way to escape somehow hibernate keywords, to force parser to no treating "Order" like a one of keyword ??