2010-11-18 82 views
4

我間歇性地獲取下面的錯誤。間歇性SQLException:OALL8處於不一致狀態

ERROR Exception occured while fetching the available subscriptions from the database - Could not roll back Hibernate transaction; nested exception is org.hibernate.TransactionException: JDBC rollback failed  
org.springframework.transaction.TransactionSystemException: Could not roll back Hibernate transaction; nested exception is org.hibernate.TransactionException: JDBC rollback failed  
Caused by: org.hibernate.TransactionException: JDBC rollback failed  
     at org.hibernate.transaction.JDBCTransaction.rollback(JDBCTransaction.java:204) 
      at org.springframework.orm.hibernate3.HibernateTransactionManager.doRollback(HibernateTransactionManager.java:676)  
     ... 80 more  
Caused by: java.sql.SQLException: No more data to read from socket  
java.sql.SQLException: Closed Connection  
ERROR org.hibernate.transaction.JDBCTransaction 17/11/2010 20:49:41 - JDBC rollback failed 
java.sql.SQLException: Io exception: Broken pipe 
ERROR org.springframework.transaction.interceptor.TransactionInterceptor 17/11/2010 20:49:41 - Application exception overridden by rollback exception 
org.hibernate.exception.GenericJDBCException: could not execute query 
java.sql.SQLException: OALL8 is in an inconsistent state 

數據庫:Oracle9i中

JDBC驅動程序:10.2.0.4.0

發展論壇環境:騾3.0,春季3.0和Hibernate 3

回答

8

「OALL8處於不一致狀態「是JDBC 10.1,10.2和11.1中發生的一般異常。它表示在JDBC連接中檢測到內部不一致,但沒有提供有關導致不一致的信息。 JDBC 11.2中不再發生異常。 錯誤通常是由JDBC代碼中的錯誤引起的。這些很難分析。最簡單的解決方案是升級JDBC驅動程序。

相關問題