提交 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
} else {
return lobStorage.copyLob(type, lobId, tabId, getPrecision());
}
} else if (small.length > handler.getMaxLengthInplaceLob()) {
LobStorageInterface s = handler.getLobStorage();
} else if (small.length > database.getMaxLengthInplaceLob()) {
LobStorageInterface s = database.getLobStorage();
Value v;
if (type == Value.BLOB) {
v = s.createBlob(getInputStream(), getPrecision());
} else {
v = s.createClob(getReader(), getPrecision());
}
return v.link(handler, tabId);
return v.link(database, tabId);
}
return this;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论