On Mon, 2003-09-15 at 09:26, Jon Haugsand wrote:
> * Adrian Brock
> > It is expecting a number not a string.
> 
> And why should it expect a numer and not a string?  Strings are
> clearly allowed in EJB QL.

because tillatLaaneadgang is a numeric type

Regards,
Adrian

>  k.tillatLaaneadgang = '0''; - nested throwable:
> (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "\'0\'"
>  at line 1, column 106.
> Was expecting one of:
>     "ABS" ...
>     "LENGTH" ...
>     "LOCATE" ...
>     "SQRT" ...
>     "(" ...
>     "+" ...
>     "-" ...
>     <INTEGER_LITERAL> ...
>     <FLOATING_POINT_LITERAL> ...
>     <NUMERIC_VALUED_PARAMETER> ...
>     <NUMERIC_VALUED_PATH> ...
>     )

-- 
xxxxxxxxxxxxxxxxxxxxxxxx 
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC 
xxxxxxxxxxxxxxxxxxxxxxxx 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to