免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3393 | 回复: 4
打印 上一主题 下一主题

请教问题:com.sybase.jdbc2.jdbc.SybSQLException: Type 's' not implemented. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-01-19 11:40 |只看该作者 |倒序浏览
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
2 [报告]
发表于 2009-01-19 14:21 |只看该作者
暂时不知道,先帮顶!

论坛徽章:
0
3 [报告]
发表于 2009-01-19 14:33 |只看该作者
Table 2-2: Connection properties

Property:

FAKE_METADATA

Description:

Returns phony metadata. When you call the
ResultSetMetaData methods getCatalogName,
getSchemaName, and getTableName and this
property is set to "true," the call returns empty
strings ("") because the server does not supply
useful metadata.
When this property is set to "false," calling these
methods throws a “Not Implemented”
SQLException.
Note If you have enabled wide tables and are
using an Adaptive Server 12.5 or later, this
property setting is ignored, because the server
does supply useful metadata.

Default value:

False

论坛徽章:
0
4 [报告]
发表于 2009-01-19 14:34 |只看该作者
Using wide table support for ASE 12.5 and later
Adaptive Server version 12.5 and later offers limits and parameters that are
larger than in previous versions of the database server. For example:
• Tables can contain 1,024 columns.
• Varchar and varbinary columns can contain more than 255 bytes of data.
• You can send and retrieve up to 2,048 parameters when invoking stored
procedures or inserting data into tables.
To ensure that jConnect requests wide table support from the database,
jConnect 6.0 and later users must make sure that JCONNECT_VERSION = 6
the default setting.
Note jConnect continues to work with an Adaptive Server version 12.5 and
later if you set the version to earlier than JCONNECT_VERSION = 6.
However, if you try selecting from a table that requires wide table support to
fully retrieve the data, you may encounter unexpected errors or data truncation.
You can also set the JCONNECT_VERSION = 6 or later, when you access data
from a Sybase server that does not support wide tables. In this case, the server
simply ignores your request for wide table support.
In addition to the larger number of columns and parameters, wide table support
offers an extra benefit for jConnect users—a greater amount of
ResultSetMetaData. For example, in versions of jConnect earlier than 6.0, the
ResultSetMetaData methods getCatalogName, getSchemaName, and
getTableName all returned “Not Implemented” SQLExceptions because that
metadata was not supplied by the server. When you enable wide table support,
the server now sends back this information, and the three methods return useful
information.

[ 本帖最后由 xn_sung 于 2009-1-19 14:39 编辑 ]

论坛徽章:
0
5 [报告]
发表于 2009-01-19 14:39 |只看该作者
type 's'里的s,貌似指的是系统表格
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP