This is an automated email from the ASF dual-hosted git repository.
duanzhengqiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 4832309c9e9 Improve exception handling in ResultSetUtils for type
conversion (#37419)
4832309c9e9 is described below
commit 4832309c9e9187a7e216fa9d8c4a30d35e7ed8bc
Author: Cong Hu <[email protected]>
AuthorDate: Thu Dec 18 11:31:42 2025 +0800
Improve exception handling in ResultSetUtils for type conversion (#37419)
---
.../execute/result/query/impl/driver/jdbc/type/util/ResultSetUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/infra/executor/src/main/java/org/apache/shardingsphere/infra/executor/sql/execute/result/query/impl/driver/jdbc/type/util/ResultSetUtils.java
b/infra/executor/src/main/java/org/apache/shardingsphere/infra/executor/sql/execute/result/query/impl/driver/jdbc/type/util/ResultSetUtils.java
index f572a20f2c9..a69984341b3 100644
---
a/infra/executor/src/main/java/org/apache/shardingsphere/infra/executor/sql/execute/result/query/impl/driver/jdbc/type/util/ResultSetUtils.java
+++
b/infra/executor/src/main/java/org/apache/shardingsphere/infra/executor/sql/execute/result/query/impl/driver/jdbc/type/util/ResultSetUtils.java
@@ -91,7 +91,7 @@ public final class ResultSetUtils {
try {
return convertType.cast(value);
} catch (final ClassCastException ignored) {
- throw new SQLFeatureNotSupportedException("getObject with type");
+ throw new SQLFeatureNotSupportedException("getObject with type,
cannot convert " + value.getClass().getName() + ":" + value + " to " +
convertType.getName());
}
}