提交 5c925d5e authored 作者: Thomas Mueller's avatar Thomas Mueller

Clob.toString() and Blob.toString() now include the trace identifier.

上级 677df819
...@@ -324,7 +324,7 @@ public class JdbcBlob extends TraceObject implements Blob { ...@@ -324,7 +324,7 @@ public class JdbcBlob extends TraceObject implements Blob {
* INTERNAL * INTERNAL
*/ */
public String toString() { public String toString() {
return getTraceObjectName() + ": " + value == null ? "null" : value.getTraceSQL(); return getTraceObjectName() + ": " + (value == null ? "null" : value.getTraceSQL());
} }
} }
...@@ -273,7 +273,7 @@ public class JdbcClob extends TraceObject implements Clob ...@@ -273,7 +273,7 @@ public class JdbcClob extends TraceObject implements Clob
* INTERNAL * INTERNAL
*/ */
public String toString() { public String toString() {
return getTraceObjectName() + ": " + value == null ? "null" : value.getTraceSQL(); return getTraceObjectName() + ": " + (value == null ? "null" : value.getTraceSQL());
} }
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论