oracle 索引中丢失 in 或 out 参数:: 1,索引中丢失IN或OUT参数

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等等就不行 ,请教一下这是由什么引起的?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值