当我调试错误日志时,我在应用程序中收到“无效号码”,这个问题越来越严重 “ session.flush();”我缺少解决该问题的方法。
####<May 23, 2019 11:45:42 AM CEST> <Notice> <Stdout> <DEFR1wvwlg01> <portalserver> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1558604742663> <BEA-000000> <2019-05-23 11:45:42,662 ERROR org.hibernate.util.JDBCExceptionReporter - ORA-01722: invalid number>
####<May 23, 2019 11:45:42 AM CEST> <Notice> <Stdout> <DEFR1wvwlg01> <portalserver> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1558604742663> <BEA-000000> <2019-05-23 11:45:42,663 ERROR org.hibernate.util.JDBCExceptionReporter - ORA-01722: invalid number>
####<May 23, 2019 11:45:42 AM CEST> <Notice> <Stdout> <DEFR1wvwlg01> <portalserver> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1558604742665> <BEA-000000> <2019-05-23 11:45:42,663 ERROR org.hibernate.event.def.AbstractFlushingEventListener - Could not synchronize database state with session
org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:202)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:985)
at com..capcheck.calc.CalcRowGroup.store(CalcRowGroup.java:667)
at com..capcheck.calc.CalcRowGroupList.store(CalcRowGroupList.java:249)
....
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
Caused by: java.sql.BatchUpdateException: ORA-01722: invalid number
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:17166)
at oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:736)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:195)