Anything can be converted to a string in query comparisons.

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@429440 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
A. Abram White 2006-08-07 19:18:04 +00:00
parent d293c449b1
commit b499aded0d

View File

@ -222,8 +222,9 @@ public class Filters {
|| (c2Number && (c1 == Character.class
|| (!strict && c1 == String.class))))
return true;
if ((c1 == String.class && c2 == Character.class)
|| (c1 == Character.class && c2 == String.class))
if (c1 == String.class && c2 == Character.class)
return true;
if (c2 == String.class)
return true;
return false;
}