起步软件技术论坛-X3

 找回密码
 立即注册
搜索
查看: 3212|回复: 76

存储过程数据集**

[复制链接]
发表于 2008-3-7 17:35:18 | 显示全部楼层 |阅读模式
我在sybase 中做的存储过程,验证没问题,结果也正确,现在的问题是连上存储过程数据集后老是报什么JZ006的错,请问在怎么回事?
回复

使用道具 举报

 楼主| 发表于 2008-3-7 17:51:24 | 显示全部楼层
很急,那位帮下忙,
回复 支持 反对

使用道具 举报

发表于 2008-3-7 17:52:45 | 显示全部楼层
楼主,把错误的详细信息贴一下吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-7 17:55:32 | 显示全部楼层
error occur during invoke getRecords method, JZ006: 捕获到 IO 例外:java.io.IOException: JZ0SL: 不受支持的 SQL 类型 0。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-7 18:04:36 | 显示全部楼层
在PB中测试了存储过程,没问题,就是在X3中建存储过程数据集的时候报错,而且在选了opencursorongetbizfields属性后看不到字段
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-7 18:06:54 | 显示全部楼层
各位给解决下吧,
回复 支持 反对

使用道具 举报

发表于 2008-3-7 18:08:35 | 显示全部楼层
JZ006

Caught IOException: _____

Description: An unexpected I/O error was detected from a lower layer. When such I/O exceptions are caught, they are rethrown as SQL exceptions using the ERR_IO_EXCEPTION JZ006 sqlstate. These errors are often the result of network communication problems. If the I/O exception causes the database connection to be closed, jConnect will chain a JZ0C1 exception to the JZ006. Client applications can look for the JZ0C1 exception in the chain to see if the connection is still usable.

Action: Examine the text of the original I/O exception message, and proceed from there.

好像出现这个错误是因为之前出现了其他的错误,请楼主看看服务端有没有提示其他的错误信息
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-7 18:11:40 | 显示全部楼层
没有就这一个,而且现在我的业务信息和业务功能只有这一个数据集,就是怕影响了数据集,
存储过程没问题啊
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-7 18:24:45 | 显示全部楼层
怎么回事啊,存储过程数据集对存储过程有什么限制吗?我试了一下,如果是特别简单的存储过程没问题,那么对复杂的存储过程有什么样的限制吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-7 18:28:40 | 显示全部楼层
急啊
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Justep Inc.

GMT+8, 2025-7-8 03:43 , Processed in 0.043298 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表