提交 8d9dec61 authored 作者: Thomas Mueller's avatar Thomas Mueller

Ensure the JDBC client doesn't reference the Database class (bugfix)

上级 dfd26da7
...@@ -168,15 +168,15 @@ public class ValueLobDb extends Value implements Value.ValueClob, Value.ValueBlo ...@@ -168,15 +168,15 @@ public class ValueLobDb extends Value implements Value.ValueClob, Value.ValueBlo
} else { } else {
return lobStorage.copyLob(type, lobId, tabId, getPrecision()); return lobStorage.copyLob(type, lobId, tabId, getPrecision());
} }
} else if (small.length > handler.getMaxLengthInplaceLob()) { } else if (small.length > database.getMaxLengthInplaceLob()) {
LobStorageInterface s = handler.getLobStorage(); LobStorageInterface s = database.getLobStorage();
Value v; Value v;
if (type == Value.BLOB) { if (type == Value.BLOB) {
v = s.createBlob(getInputStream(), getPrecision()); v = s.createBlob(getInputStream(), getPrecision());
} else { } else {
v = s.createClob(getReader(), getPrecision()); v = s.createClob(getReader(), getPrecision());
} }
return v.link(handler, tabId); return v.link(database, tabId);
} }
return this; return this;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论