Re: [castor-dev] Got Exception "OQLSyntaxException", but why?

2002-11-11 Thread Martin, Margaret
] 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.

Re: [castor-dev] Got Exception "OQLSyntaxException", but why? [Viruschecked]

2002-11-11 Thread Patric Bechtel
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.

[castor-dev] Got Exception "OQLSyntaxException", but why?

2002-11-11 Thread Boris Klug
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