OPENJPA-2286: ArgumentException: Attempt to compare incompatible types class java.util.Date and class org.apache.openjpa.jdbc.sql.Raw

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.2.x@1580939 13f79535-47bb-0310-9956-ffa450edef68