问题描述
java.sql.SQLException:数字溢出atoracle.jdbc.driver.NumberCommonAccessor.throwOverflow(NumberCommonAccessor.java:4380)atoracle.jdbc.driver.NumberCommonAccessor.getInt(NumberCommonAccessor.java:111)atoracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:896)atoracle.jdbc.driver.OracleResultSet.getInt(OracleResultSet.java:434)atcom.kl.dbservlet.AllServlet.select(AllServlet.java:143)atcom.kl.dbservlet.AllServlet.difpage(AllServlet.java:192)atcom.kl.dbservlet.AllServlet.doPost(AllServlet.java:54)atcom.kl.dbservlet.AllServlet.doGet(AllServlet.java:81)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:690)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:803)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)atorg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)atorg.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)atorg.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)atorg.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)atjava.lang.Thread.run(Thread.java:619)求大神指点怎么修改啊
解决方案
本帖最后由 sxhe2010 于 2014-12-15 11:03:50 编辑
解决方案二:
atcom.kl.dbservlet.AllServlet.select(AllServlet.java:143)atcom.kl.dbservlet.AllServlet.difpage(AllServlet.java:192)atcom.kl.dbservlet.AllServlet.doPost(AllServlet.java:54)atcom.kl.dbservlet.AllServlet.doGet(AllServlet.java:81)测试看看数据是多少啊