From d35bc8a306444ed25e7322d023e46c4a1d64e60a Mon Sep 17 00:00:00 2001 From: "David J. Wisneski" Date: Sat, 10 Mar 2007 00:34:09 +0000 Subject: [PATCH] fix for OPENJPA-22 git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@516624 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/openjpa/jdbc/sql/DB2Dictionary.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DB2Dictionary.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DB2Dictionary.java index cb3df2874..9d26e9821 100644 --- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DB2Dictionary.java +++ b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DB2Dictionary.java @@ -60,6 +60,8 @@ public class DB2Dictionary supportsAlterTableWithDropColumn = false; supportsNullTableForGetColumns = false; + requiresCastForMathFunctions = true; + requiresCastForComparisons = true; reservedWordSet.addAll(Arrays.asList(new String[]{ "AFTER", "ALIAS", "ALLOW", "APPLICATION", "ASSOCIATE", "ASUTIME",