Whenever I invoke addEqualTo or addNotEqualTo on a Criteria object with a value parameter whose type is a String that contains an underscore, _, the message 'use addLike() for wildcards' is printed to the log (actually only in the addEqualTo method is this message printed) and the implementation of the methods adds a new LikeCriteria object rather than a new EqualToCriteria object.
Am I missing something about needing to escape the underscore character in String values when invoking the addEqualTo or addNotEqualTo methods of the Criteria class? The code seems to show that even escaping the underscore character would not solve this problem. -- Norman Jarvis [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
