六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 1108|回复: 0

char int 转换不允许

[复制链接]

升级  73.67%

131

主题

131

主题

131

主题

举人

Rank: 3Rank: 3

积分
421
 楼主| 发表于 2013-1-30 00:26:00 | 显示全部楼层 |阅读模式
sybase    websphere    linux

Implicit conversion from datatype 'CHAR' to 'INT' is not allowed.  Use the CONVERT function to run this query.

ibatis中如果对于数据库中的字段类型为int 那么查询中传递的参数也应该是整数executeQueryForObject("quertSQL",new Integer(blockid)); 
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

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