Hi,

it is legal JDOQL to compare a char field with a multi-character string literal, e.g. setFilter("charField == 'Michael'")?

The spec says: "Single-character String literals can be used wherever char literals are permitted.". Does it mean multi-character string literals result error during compile or does the expression just evaluate to false at runtime? I would expect a compile error.

Regards Michael
--
Michael Bouschen                [EMAIL PROTECTED] Engineering GmbH
mailto:[EMAIL PROTECTED]        http://www.tech.spree.de/
Tel.:++49/30/235 520-33         Buelowstr. 66                   
Fax.:++49/30/2175 2012          D-10783 Berlin                  

Reply via email to