EJB-QL Error
Brought to you by:
tchbansi
Hi,
I am getting the following error with Oracle9i and JBoss-
3.25 or JBoss-3.0.8
Any idea?
Thanx!
2004-08-03 15:14:37,262 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.Order#fi
ndByCustomer]
EJB-QL: SELECT OBJECT (object) FROM Order AS object
WHERE object.customer.userId = ?1
2004-08-03 15:14:37,475 INFO [STDOUT]
org.jboss.ejb.plugins.cmp.ejbql.ParseException:
Encountered
"Order" at line 1, column 29.
Was expecting one of:
"IN" ...
<ABSTRACT_SCHEMA> ...
Logged In: YES
user_id=26829
Hi!
I'm having the same problem.
I'm new to the topic but my guess is that jboss regards "Order" as a
reserved keyword and thus complains when it is used as a bean name.