mirror of
https://github.com/apache/openjpa.git
synced 2025-02-20 17:05:15 +00:00
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:
parent
d293c449b1
commit
b499aded0d
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user