Jon,
<pedantic>
Java type char is a numeric type! But of course you can store '0', '1',
'a' and 'n' in it, as well as 0, 1, 789, and so on.
</pedantic>
Of course, this doesn't explain your problem.
Ciao,
Jonathan O'Connor
XCOM Dublin
Jon Haugsand <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
15.09.2003 09:58
Please respond to jboss-user
To: [EMAIL PROTECTED]
cc:
Subject: EjbQL-bug in Jboss? (was: Re: [JBoss-user] Isn't the string
literal '0'
allowed?)
* Adrian Brock
> 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
But it isn't! It is of char(1). Does JBoss consider this as numeric?
It is the opposite in Weblogic where it fails if assumed numeric.
Oracle certainly does not consider this as numeric. It can contain
any of the values '0', '1', 'A', 'N'.
Further, it certainly works in JBoss as well, e.g.
public abstract void setTillatLaaneadgang( char v);
kunde.setTillatLaaneadgang( 'N' );
I cannot possible imagine this as something else than a JBoss bug.
--
Jon Haugsand, [EMAIL PROTECTED]
http://www.norges-bank.no
-------------------------------------------------------
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
-------------------------------------------------------
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