提交 ac4f345b 编写于 作者: Z zhourui

神通数据库使用String存储clob

上级 470c41b5
package com.x.base.core.openjpa.jdbc.sql;
import org.apache.openjpa.jdbc.sql.BooleanRepresentation;
import org.apache.openjpa.jdbc.sql.BooleanRepresentationFactory;
import org.apache.openjpa.jdbc.sql.DBDictionary;
import org.apache.openjpa.lib.util.Localizer;
......@@ -21,8 +20,9 @@ public class OscarDictionary extends DBDictionary {
maxEmbeddedBlobSize = -1;
doubleTypeName = "DOUBLE PRECISION";
booleanTypeName = "BOOL";
useGetStringForClobs = true;
useSetStringForClobs = true;
booleanRepresentation = BooleanRepresentationFactory.BOOLEAN;
}
protected BooleanRepresentation booleanRepresentation = BooleanRepresentationFactory.BOOLEAN;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册