By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,937 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

Simple EJB QL for CMP in Sun ONE Studio 5 give error

P: n/a
ahk
Part of the error message:

[06/Apr/2004:18:01:06] INFO ( 2072): CORE3282: stdout: Remote message:
Processing beans ....
[06/Apr/2004:18:01:08] SEVERE ( 2072): JDOCodeGenerator: Caught
Exception in generating CMP:
com.sun.jdo.spi.persistence.support.ejb.ejbqlc.EJB QLException: Invalid
EJBQL query
Bean: Users
Method: java.util.Collection findAll()
EJBQL: SELECT object(u) FROM Users as u WHERE u.userid > 10
Error: column(49): Invalid argument(s) for '>'.
When I added in the WHERE clause for a EJB finder method, the error
appears. userid is of type BigDecimal in CMP. Any idea? TIA.
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.