|
从表不能添加多个值,项目是从SVN检出的,这个约束都不知道是什么,要怎么处理?新增按钮是系统自带的操作。
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150039; 提示: 执行sql: INSERT INTO GP_SAMPLEALY_DETAIL (GP_SAMPLEALY_DETAIL.fID, GP_SAMPLEALY_DETAIL.VERSION, GP_SAMPLEALY_DETAIL.DELIVERYPRICE, GP_SAMPLEALY_DETAIL.FNORMS, GP_SAMPLEALY_DETAIL.FNUMBER, GP_SAMPLEALY_DETAIL.FSAMPLEALY, GP_SAMPLEALY_DETAIL.FSAMPLEALYMAINID, GP_SAMPLEALY_DETAIL.FSAMPLEALYMONEY, GP_SAMPLEALY_DETAIL.FSAMPLESID, GP_SAMPLEALY_DETAIL.FUNIT) VALUES ( ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ), binds: [5A4775E2FA2F438FB0A63300D984C36A, 0, null, 16, null, Pack 16 MAXTRA, null, null, null, PCS]出错
at com.justep.exception.BusinessException.create(Unknown Source)
at com.justep.system.ksql.KSQLUtils.execSqlUpdate(Unknown Source)
... 36 more
Caused by: java.sql.SQLException: ORA-00001: 违反唯一约束条件 (AJ.SYS_C0011689)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:213)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:952)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1160)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3368)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
... 37 more
|
|