Hey all,
Just for kicks I downloaded EJB 2.0 Final Release 2 specifications. On page 229 under 
section 11.2.7.6 the operators '>=' and '<=' are specified. In fact, in the next 
section they use these operators in an example to replace the 'BETWEEN' SQL command. 

However, Dain did catch this (see forum link below) but tells how you can not use 
those operators with DATES.  Unfortunately, that was my scenario (which I agree is 
kinda silly) but the '>=' and '<=' do work for integer types.  
http://jboss.org/index.html?module=bb&op=viewtopic&t=18352

-D

On Dec 17, 2003, at 6:02 PM, Darren Hartford wrote:

> Hey all,
> Is there any reason why Jboss 3.2.2 throws an exception when an EJB-QL 
> statement contains '>=' or '<='?

Yes, because EJB-QL is retarded. Use jboss-ql instead. Isn't that 
EJB/CMP2 spec great? :-/

  S.



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to