Fixed varbinaryTypeName and longVarbinaryTypeName to be "BLOB" (they were defaulting to "VARBINARY", which is not recognized under DB2 or Derby).

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@449526 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Marc Prud'hommeaux 2006-09-24 23:58:00 +00:00
parent ce937180b4
commit a8c1fad16c
1 changed files with 2 additions and 0 deletions

View File

@ -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)))";