字符串错误?应该不是单纯的下表越界啊 错误信息:java.lang.StringIndexOutOfBoundsException: String index out of range: 10 执行这段SQL的时候出的错: INSERT INTO T_EC_COLLECTMAIN (S_ID,Y,W,TIME,SUBMITTIME,COMPANYID,DEPTID,CUSTOMERID,CUSTOMERCODE,CUSTOMERNAME,CUSTOMGRID,CUSTOMGRNAME,T_STOCK,T_SALES,STATUS,REMARK,ISCANCEL) VALUES(46,0,0,'2011-04-03','2011-01-01',32040100,12,20520,'3204011014729','邹村小店',129,'张君飞',32.0,6.0,0,'',0): 注意, 我数据库跑是可以成功的,但是在程序中跑就报错了