]
Subject: [castor-dev] Got Exception "OQLSyntaxException", but why?
Hello!
I have a very strange behaviuor here: I try to get an object from the db
which
is named "Order". When I do a "select a from Order a" I got the Exception:
Exception: org.exolab.castor.
Hello Boris,
simple :-) Did you ever tried in SQL an "select * from order where ...", it would have
caused at least one SQL server to fail. Order is a keyword, as such you
should try to avoid it standing alone without any further context such as =, . or the
like.
Try that: "select a from boris.
Hello!
I have a very strange behaviuor here: I try to get an object from the db which
is named "Order". When I do a "select a from Order a" I got the Exception:
Exception: org.exolab.castor.jdo.oql.OQLSyntaxException: An incorrect token
type was found near Order (found KEYWORD_ORDER, but expect