This content has been marked as final.
Show 2 replies
-
1. Re: Cannot use >= or <= with Timestamp in EJB-QL?
dennislee Jan 10, 2004 10:46 PM (in response to carl)my god
i hava encountered the same error!!!!!!!!!!!!!
did you have solved it ??? -
2. Re: Cannot use >= or <= with Timestamp in EJB-QL?
juha Jan 11, 2004 3:21 AM (in response to carl)Operators <= and >= in EJB-QL are only supported for numeric types (int, long, etc) and not for object types (Dates, java.sql.Timestamp, etc).
You need to use JBossQL if you want to use these operators on object types or convert your timestamps to long values in the database.