4paradigm / 4paradigm/OpenMLDB
Return row count when `executeUpdate` run insert sql in Java SDK
未关闭
enhancement
- 主要语言
- C++
- 星标
- 1.7k
- 派生
- 331
- 平均合并
- 12 天 12 小时
- 30 天内合并 PR
- 1
描述
`executeUpdate` will return row count when execute insert sql, refer [JDBC Doc](https://docs.oracle.com/javase/7/docs/api/java/sql/Statement.html#executeUpdate(java.lang.String))
Current behavior is return 0
贡献指南
调研方向
Find the Java SDK's executeUpdate method implementation, likely in a JNI layer or a Java class that calls native C++ code. Check how the row count from the database insert operation is returned. Compare with the JDBC specification linked. Ensure the fix returns the correct inserted row count and update any related tests.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- backend, databases
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 45/100