因为msdn中说返回受影响的行数: Executes a Transact-SQL statement against the connection and returns the number of rows affected. 但是却没看到备注里说 For UPDATE, INSERT, and DELETE statements, the return value is the number of rows affected by the command. When a trigger e
当jdbc返回值类型对应的java类型是[B,那就表示返回值的类型比较模糊难以区分: BLOB类型是mysql数据库常用来存储,但是通过getBlob()方法获取值得时候会报错: 错误信息: java.lang.IllegalArgumentException: Can not set [B field yxm.zyf.love.entity.User.user_certify_pic to com.mysql.jdbc.Blob at sun.reflect.UnsafeFieldAccess