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));
本文探讨了在Sybase数据库使用iBatis框架时遇到的类型转换错误:从CHAR到INT的隐式转换不被允许。文章提供了解决方案,建议使用CONVERT函数,并展示了如何正确地传递整数参数。
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));
2993

被折叠的 条评论
为什么被折叠?