diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/AbstractDB2Dictionary.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/AbstractDB2Dictionary.java index 4f4773355..22af396ea 100644 --- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/AbstractDB2Dictionary.java +++ b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/AbstractDB2Dictionary.java @@ -28,6 +28,8 @@ public abstract class AbstractDB2Dictionary bitTypeName = "SMALLINT"; smallintTypeName = "SMALLINT"; tinyintTypeName = "SMALLINT"; + longVarbinaryTypeName = "BLOB"; + varbinaryTypeName = "BLOB"; toUpperCaseFunction = "UPPER(CAST({0} AS VARCHAR(1000)))"; toLowerCaseFunction = "LOWER(CAST({0} AS VARCHAR(1000)))";