java.sql.BatchUpdateException: ORA-00604: error occurred at recursive SQL level 1

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了java.sql.BatchUpdateException: ORA-00604: error occurred at recursive SQL level 1相关的知识,希望对你有一定的参考价值。

at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:343)
09/06/22 08:55:08 at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10675)
09/06/22 08:55:08 at oracle.oc4j.sql.proxy.StatementBCELProxy.executeBatch(StatementBCELProxy.java:449)
09/06/22 08:55:08 at com.sinosoft.lis.vdb.LCPremDBSet.delete(LCPremDBSet.java:113)
09/06/22 08:55:08 at sun.reflect.GeneratedMethodAccessor6246.invoke(Unknown Source)
09/06/22 08:55:08 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
09/06/22 08:55:08 at java.lang.reflect.Method.invoke(Method.java:585)
09/06/22 08:55:08 at com.sinosoft.lis.pubfun.PubSubmit.saveData(PubSubmit.java:307)
09/06/22 08:55:08 at com.sinosoft.lis.pubfun.PubSubmit.submitData(PubSubmit.java:65)
09/06/22 08:55:08 at com.sinosoft.lis.bq.GEdorValidBL.submitData(GEdorValidBL.java:99)
09/06/22 08:55:08 09/06/22 08:55:08 VTS Template = SpwjqsqdGrC000100.vts
at _bq._WFGrpEdorConfirmSave._jspService(_WFGrpEdorConfirmSave.java:165)09/06/22 08:55:08 VTS Template = /home/apps/j2eesvr/j2ee/home/applications/rh/rhxyz/f1print/NCLtemplate//SpwjqsqdGrC000100.vts

09/06/22 08:55:08 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
09/06/22 08:55:08 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)
09/06/22 08:55:08 09/06/22 08:55:08 mSql: select * from LDPerson where CustomerNo='00157043 ' at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)

09/06/22 08:55:08 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)09/06/22 08:55:08
VTS Template = SpwjqsqdGrC000100.vts09/06/22 08:55:08
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
09/06/22 08:55:08 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
09/06/22 08:55:08 at filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:34)
09/06/22 08:55:08 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629)
09/06/22 08:55:08 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
09/06/22 08:55:08 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
09/06/22 08:55:08 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
09/06/22 08:55:08 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
09/06/22 08:55:08 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
09/06/22 08:55:08 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
09/06/22 08:55:08 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
09/06/22 08:55:08 at java.lang.Thread.run(Thread.java:595)

根据二层或三层MVC架构,不建议在jsp页面直接操作数据库

而且你这里的异常信息也很难跟踪

把jsp代码贴出来看看
参考技术A 你用的什么数据库啊??如果是sqlserver2000的话,要打补丁啊。
还有,是否导入了数据库的驱动包。

以上是关于java.sql.BatchUpdateException: ORA-00604: error occurred at recursive SQL level 1的主要内容,如果未能解决你的问题,请参考以下文章