This content has been marked as final.
Show 3 replies
-
1. Re: Message selectors
bsantang99 Oct 22, 2001 11:26 AM (in response to rich_rodriguez)I ran into the same issue when trying to create a selector comparing an int in 2.4.1. I haven't attempted to try other primitives but suspect the same behavior.
String selector = "id = 5 OR id = 6";
If you haven't already found out, try:
String selector = "id = '5' OR id = '6'"; -
2. Re: Message selectors
pra Oct 22, 2001 2:48 PM (in response to rich_rodriguez)The selector grammar was changes betwen these release. Please file a bugreport on sourceforge.
//Peter -
3. Re: Message selectors
allisonwestley Feb 11, 2002 10:19 AM (in response to rich_rodriguez)I got the same error using 2.4.1. Previously I my message selector looked as follows:
messageid = '5'
even though messageid was an int, i changed this to
messageid = 5
in our latest build and it all worked fine. i think that the latter version is more correct (i.e. it looks like this was a bug fix).