Skip to content

Commit 309f461

Browse files
authored
fix(pl): failed to execute a pl that contains an out sys_refcursor parameter (#911)
* fix: failed to exec pl contains cur param * uodate submodule
1 parent 3cdd859 commit 309f461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/odc-core/src/main/java/com/oceanbase/odc/core/sql/util/JdbcDataTypeUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public static void setValueIntoStatement(CallableStatement statement, int index,
147147
public static Object getValueFromStatement(CallableStatement statement, int index, String type)
148148
throws SQLException {
149149
JDBCType jdbcType = parseDataType(type);
150-
if (null == statement.getString(index)) {
150+
if (null == statement.getObject(index)) {
151151
return null;
152152
}
153153
switch (jdbcType) {

0 commit comments

Comments
 (0)