diff --git a/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceProductDerivation.java b/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceProductDerivation.java index 7596f276a..6cda70baa 100644 --- a/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceProductDerivation.java +++ b/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/PersistenceProductDerivation.java @@ -145,6 +145,7 @@ public class PersistenceProductDerivation _hints.add(QueryHints.HINT_RECACHE_FINDER); _hints.add(QueryHints.HINT_RESULT_COUNT); _hints.add(QueryHints.HINT_SUBCLASSES); + _hints.add(QueryHints.HINT_RELAX_BIND_PARAM_TYPE_CHECK); _hints = Collections.unmodifiableSet(_hints); }