2016-03-21 9 views
0

サーバログに次のエラーが発生しています。私は石英のテーブルの列に変更を加えるクエリ(挿入または更新)を知りたいと思います。jbossの水晶で値が大きすぎます

ERROR [org.quartz.impl.jdbcjobstore.JobStoreTX] MisfireHandler: Error 
handling misfires: Couldn't store trigger: ORA-01438: value larger 
than specified precision allowed for this column 
org.quartz.JobPersistenceException: Couldn't store trigger: ORA-01438: 
value larger than specified precision allowed for this column [See 
nested exception: org.quartz.JobPersistenceException: Couldn't store 
trigger: ORA-01438: value larger than specified precision allowed for 
this column [See nested exception: java.sql.SQLException: ORA-01438: 
value larger than specified precision allowed for this column ]] at 
org.quartz.impl.jdbcjobstore.JobStoreTX.doRecoverMisfires(JobStoreTX.java:1354) 
    at 
org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.manage(JobStoreSupport.java:2449) 
    at 
org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.run(JobStoreSupport.java:2468) 
* Nested Exception (Underlying Cause) --------------- org.quartz.JobPersistenceException: Couldn't store trigger: ORA-01438: 
value larger than specified precision allowed for this column [See 
nested exception: java.sql.SQLException: ORA-01438: value larger than 
specified precision allowed for this column ] at 
org.quartz.impl.jdbcjobstore.JobStoreSupport.storeTrigger(JobStoreSupport.java:964) 
    at 
org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverMisfiredJobs(JobStoreSupport.java:780) 
    at 
org.quartz.impl.jdbcjobstore.JobStoreTX.doRecoverMisfires(JobStoreTX.java:1352) 
    at 
org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.manage(JobStoreSupport.java:2449) 
    at 
org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.run(JobStoreSupport.java:2468) 
* Nested Exception (Underlying Cause) --------------- java.sql.SQLException: ORA-01438: value larger than specified 
precision allowed for this column 

    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:216) 
    at 
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955) 
    at 
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168) 
    at 
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285) 
    at 
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3368) 
    at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:365) 
    at 
org.quartz.impl.jdbcjobstore.StdJDBCDelegate.updateSimpleTrigger(StdJDBCDelegate.java:1440) 
    at 
org.quartz.impl.jdbcjobstore.JobStoreSupport.storeTrigger(JobStoreSupport.java:942) 
    at 
org.quartz.impl.jdbcjobstore.JobStoreSupport.recoverMisfiredJobs(JobStoreSupport.java:780) 
    at 
org.quartz.impl.jdbcjobstore.JobStoreTX.doRecoverMisfires(JobStoreTX.java:1352) 
    at 
org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.manage(JobStoreSupport.java:2449) 
    at 
org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.run(JobStoreSupport.java:2468) 

これについて助けてください。ログに挿入/更新クエリを表示するための設定パラメータはありますか?

+0

私の質問にお答えいただければ幸いですか?前もって感謝します。 –

答えて

1

SIMPLE_TRIGGERSテーブル内のTIMES_TRIGGEREDカラムのサイズが大きくなりすぎて、通常NUMBER(7)(最大値9999999)と定義されているため、このエラーが発生しました。

通常、この列を0に設定すると、エラーがなくなります(TIMES_TRIGGEREDが再び十分に大きくなるまで)。クォーツのように、トリガの開始時刻と設定された周波数を見て、値を決定し、あなたのアップデートを上書きしますが、私の経験では最大値よりかなり低い値に設定しています。

詳細はCouldn't store triggerを参照してください。

関連する問題