1

当我尝试将 jsp 页面中的一些值插入 oracle 数据库时,有时会出现禁止插入的异常。但是大多数时候我尝试从该页面在数据库中插入值时都没有收到此错误。确切的错误堆栈跟踪是:

oracle.jdbc.driver.OraclePreparedStatement@cca76d
    at repaircenter.common.Inbound_Inspection.insert_prio(Inbound_Inspection.java:403)
    at repaircenter.actions.Inbound_ACTIONS.runAction(Inbound_ACTIONS.java:84)
    at com.ge.appl.tsf.kernel.TSFBaseAppController.runActions(Unknown Source)
    at com.ge.appl.tsf.kernel.TSFBaseAppController.runRequest(Unknown Source)
    at com.ge.appl.tsf.shells.common.TSFCommonDispatcher.runRequest(Unknown Source)
    at com.ge.appl.tsf.shells.web.TSFDispatcher.runRequest(Unknown Source)
    at com.ge.appl.tsf.shells.web.TSFDispatcher.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at repaircenter.common.listingObjects.SessionFilter.doFilter(SessionFilter.java:65)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:204)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:481)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)

有人可以帮我解决可能的问题吗?提前致谢

4

0 回答 0