mirror of https://github.com/apache/openjpa.git
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:
parent
ce937180b4
commit
a8c1fad16c
|
@ -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)))";
|
||||
|
|
Loading…
Reference in New Issue