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

Clearer method names.

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