从 java.nerror 调用 db2 12 存储过程“无法获取调用存储过程的描述信息”

问题描述

从 JAVA 项目(开放系统),调用 zo/s db2 存储过程。 db2 版本是 12。 我有几个存储过程(选择/插入/更新) 所有这些都运行良好,但是在将 db2 版本升级到 12 后,其中一个(存储过程)返回错误

com.ibm.db2.jcc.am.sqlException: [jcc][10453][12710][4.28.11] 无法获取名称为 MYSTORE 且路径为“SYSIBM、SYSFUN、SYSPROC”的调用存储过程的描述信息,SYSIBMADM,DBUSER' ERRORCODE=-4472,sqlSTATE=null

我读过一篇文章说:

If your Db2 server is running on Z/OS,then you need to upgrade your Db2 jdbc driver from its current V10.5.0.4 level (jdbc 3.0 driver version 3.68.61) to a higher version to address a kNown bug.

It appears this bug was fixed in driver versions 3.69.24 and higher.

Download the latest fixpack for your Db2 client from this site.

所以我下载了newst db2 jdbc 驱动程序版本11.5.5.0

jcc-11.5.5.0.jar

<dependency>
    <groupId>com.ibm.db2</groupId>
    <artifactId>jcc</artifactId>
    <version>11.5.5.0</version>
</dependency>

这个最新的驱动没有解决问题,出现同样的错误

有什么想法吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)