15:43:24,310 INFO SessionUtil:51 - 创建了Session:No.46 Room 0
15:43:24,310 INFO ListAction:66 - 进入Action:class com.handlewell.platform.struts.ListAction._init()
15:43:24,404 INFO ListAction:105 - 离开Action:class com.handlewell.platform.struts.ListAction 到视图:doc.receive.docrecdealtask.list
15:43:24,857 INFO SessionUtil:68 - 关闭了Session:No.46 Room 0
15:43:30,341 INFO SessionUtil:51 - 创建了Session:No.47 Room 0
15:43:30,357 INFO DocRecDealTaskAction:66 - 进入Action:class com.handlewell.doc.action.receive.DocRecDealTaskAction._editTab()
15:43:30,373 INFO DocRecDealTaskAction:105 - 离开Action:class com.handlewell.doc.action.receive.DocRecDealTaskAction 到视图:/module/doc/receive/docrecdealtask/page/edit_tab.jsp
15:43:30,388 INFO SessionUtil:68 - 关闭了Session:No.47 Room 0
15:43:32,013 INFO SessionUtil:51 - 创建了Session:No.48 Room 0
15:43:32,029 INFO DocRecDealTaskAction:66 - 进入Action:class com.handlewell.doc.action.receive.DocRecDealTaskAction._edit()
15:43:32,076 INFO DocRecDealTaskAction:105 - 离开Action:class com.handlewell.doc.action.receive.DocRecDealTaskAction 到视图:doc.receive.docrecdealtask.edit
15:43:32,091 INFO SessionUtil:68 - 关闭了Session:No.48 Room 0
15:43:35,373 INFO SessionUtil:51 - 创建了Session:No.49 Room 0
15:43:35,373 INFO DocRecDealTaskAction:66 - 进入Action:class com.handlewell.doc.action.receive.DocRecDealTaskAction._doAjaxUpdate()
15:43:35,388 INFO DocRecDealTaskAction:105 - 离开Action:class com.handlewell.doc.action.receive.DocRecDealTaskAction 到视图:/module/doc/receive/docrecdealtask/page/template.jsp
15:43:35,388 INFO SessionUtil:68 - 关闭了Session:No.49 Room 0
15:43:43,091 INFO SessionUtil:51 - 创建了Session:No.50 Room 0
15:43:43,107 INFO DocRecDealTaskAction:66 - 进入Action:class com.handlewell.doc.action.receive.DocRecDealTaskAction._update()
org.hibernate.HibernateException
org.hibernate.HibernateException
15:43:43,107 WARN JDBCExceptionReporter:57 - SQL Error: 17041, SQLState: null
15:43:43,107 ERROR JDBCExceptionReporter:58 - 索引中丢失 IN 或 OUT 参数:: 6
15:43:43,107 ERROR AbstractFlushingEventListener:268 - Could not synchronize database state with session
org.hibernate.exception.GenericJDBCException: could not update: [com.handlewell.doc.model.receive.DocRecDealTask#1267003578859_993]
at org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:92)
at org.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:80)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.persister.BasicEntityPersister.update(BasicEntityPersister.java:1821)
at org.hibernate.persister.BasicEntityPersister.updateOrInsert(BasicEntityPersister.java:1731)
at org.hibernate.persister.BasicEntityPersister.update(BasicEntityPersister.java:1968)
at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:77)
at org.hibernate.impl.ActionQueue.execute(ActionQueue.java:240)
at org.hibernate.impl.ActionQueue.executeActions(ActionQueue.java:224)
at org.hibernate.impl.ActionQueue.executeActions(ActionQueue.java:138)
at org.hibernate.event.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:265)
at org.hibernate.event.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:24)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:815)
at com.handlewell.platform.model.POImpl.update(POImpl.java:54)
at com.handlewell.platform.model.POImpl$$FastClassByCGLIB$$b91ada94.invoke()
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:116)
at com.handlewell.doc.model.receive.DocRecDealTask$$EnhancerByCGLIB$$feeb9e1a.update()
at com.handlewell.platform.struts.SingleObjectAction._update(SingleObjectAction.java:102)
at com.handlewell.doc.action.receive.DocRecDealTaskAction._update(DocRecDealTaskAction.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.handlewell.platform.struts.Action.executeMethod(Action.java:137)
at com.handlewell.platform.struts.Action.execute(Action.java:74)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
上面是tomcat中日志报的一段错误,错误信息是:
15:43:43,107 WARN JDBCExceptionReporter:57 - SQL Error: 17041, SQLState: null
15:43:43,107 ERROR JDBCExceptionReporter:58 - 索引中丢失 IN 或 OUT 参数:: 6
15:43:43,107 ERROR AbstractFlushingEventListener:268 - Could not synchronize database state with session
说索引中丢失IN或OUT参数::6
数据库中使用查询语句 select …………可以 但是用update alter等等就不行 ,请教一下这是由什么引起的?