提交 4496b4cc authored 作者: Thomas Mueller's avatar Thomas Mueller

Clearer method names.

上级 ba0269de
......@@ -87,7 +87,7 @@ public class JdbcClob extends TraceObject implements Clob
debugCodeCall("getAsciiStream");
checkClosed();
String s = value.getString();
return IOUtils.getInputStream(s);
return IOUtils.getInputStreamFromString(s);
} catch (Exception e) {
throw logAndConvert(e);
}
......
......@@ -1117,7 +1117,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
try {
debugCodeCall("getAsciiStream", columnIndex);
String s = get(columnIndex).getString();
return s == null ? null : IOUtils.getInputStream(s);
return s == null ? null : IOUtils.getInputStreamFromString(s);
} catch (Exception e) {
throw logAndConvert(e);
}
......@@ -1135,7 +1135,7 @@ public class JdbcResultSet extends TraceObject implements ResultSet {
try {
debugCodeCall("getAsciiStream", columnLabel);
String s = get(columnLabel).getString();
return IOUtils.getInputStream(s);
return IOUtils.getInputStreamFromString(s);
} catch (Exception e) {
throw logAndConvert(e);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论