我间歇性地得到以下错误.ERROR Exception occured while fetching the available subscriptions from the database - Could not roll back Hibernate transaction; nested exception is org.hibernate.TransactionEx...
我间歇性地得到以下错误.
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
开发环境:Mule 3.0,Spring 3.0和Hibernate 3
解决方法:
“OALL8处于不一致状态”是JDBC 10.1,10.2和11.1中发生的一般异常.它表示在JDBC连接中检测到内部不一致,但它不提供导致不一致的原因的信息. JDBC 11.2中不再出现该异常.
该错误通常是由JDBC代码中的错误引起的.这些很难分析.最简单的解决方案是升级JDBC驱动程序.
沃梦达教程
本文标题为:java – 间歇性SQLException:OALL8处于不一致状态
基础教程推荐
猜你喜欢
- Zookeeper Curator使用介绍 2023-05-09
- java – 在JSP中更新数据库 2023-11-05
- SpringBoot+Querydsl 框架实现复杂查询解析 2022-11-29
- 使用AOP+反射实现自定义Mybatis多表关联查询 2022-11-08
- JSP开发之Spring方法注入之替换方法实现 2023-07-31
- 使用SpringBoot整合Activiti6工作流的操作方法 2023-03-22
- Java实现字符串的分割(基于String.split()方法) 2023-06-06
- Spring Cloud Alibaba负载均衡实现方式 2023-06-06
- JavaWeb实现注册用户名检测 2023-04-23
- Java 集合框架 Queue 和 Stack 体系 2023-01-09