数据库主键问题
ARNING:ORA-01400: 无法将 NULL 插入 ("FLDMAX"."KTD_ROTA_MANAGE"."KTD_ROTA_MANAGEID")
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:330)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:287)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:744)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:215)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:965)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1169)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3338)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3422)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
at com.fr.data.core.db.dml.Insert.execute(Unknown Source)
at com.fr.report.write.config.IntelliDMLConfig.dmlSubmit(Unknown Source)
at com.fr.report.write.config.DMLConfig$ExtractionSubmitter.run(Unknown Source)
at com.fr.report.core.A.C$_D.setCurrentColumnRow(Unknown Source)
at com.fr.report.script.Calculator.extract(Unknown Source)
at com.fr.report.write.config.DMLConfig.execute(Unknown Source)
at com.fr.data.DBManipulation$CommitWrapper.commit(Unknown Source)
at com.fr.data.DBManipulation.commit2db(Unknown Source)
at com.fr.report.write.BuiltInSQLSubmiter.execute(Unknown Source)
at com.fr.report.ReportWriteAttr.submit(Unknown Source)
at com.fr.report.core.ReportUtils.submit(Unknown Source)
at com.fr.web.core.service.WriteService.submitReport(Unknown Source)
at com.fr.web.core.service.WriteService.process(Unknown Source)
at com.fr.web.core.ReportDispatcher.dealWithRequest(Unknown Source)
at com.fr.web.ReportServlet.doGet(Unknown Source)
at com.fr.web.ReportServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
数据库中的主键在填报中不需要该字段,并且该主键字段在数据库中是自增字段,这是什么原因呢。。。请各位帮小弟看一下。。谢谢