Remember that ordinal parameters are 1-based

"msg": "java.lang.RuntimeException: java.lang.IndexOutOfBoundsException:

Remember that ordinal parameters are 1-based!\n\tat

com.landray.kmss.fx.related.webservice.FxRelatedWebserviceServiceImpl$1.run(FxRelatedWebserviceServiceImpl.java:200)\n\tat

com.landray.kmss.sys.authentication.background.BackgroundAuthServiceImp.switchUser(BackgroundAuthServiceImp.java:27)\n\tat

com.landray.kmss.sys.authentication.background.BackgroundAuthServiceImp.switchUserById(BackgroundAuthServiceImp.java:41)\n\tat

com.landray.kmss.fx.related.webservice.FxRelatedWebserviceServiceImpl.approveProcess(FxRelatedWebserviceServiceImpl.java:135)\n\tat

com.landray.kmss.fx.related.actions.FxRelatedMainAction.approveProcess(FxRelatedMainAction.java:143)\n\tat

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\n\tat

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat

java.lang.reflect.Method.invoke(Method.java:606)\n\tat org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:274)\n\tat

hibernate语句更新采用占位符是从0开始,不是1


版权声明:本文为cxws110原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。