org.hibernate.TransactionException: nested transactions not supported
2013-04-10 18:28
399 查看
org.hibernate.TransactionException: nested transactions not supported错误的解决方法!
用ssh架构进行开发的时候,配置hibernate如果出现org.hibernate.TransactionException: nested transactions not supported这个异常,那是因为你的事务没有提交 ,检查下代码。
一般是实现DAO接口的那个java文件。Transaction的对象没有提交事务 也就是commit()这个方法
相关文章推荐
- Getting “org.hibernate.TransactionException: nested transactions not supported” error when deleting
- HTTP Status 500 - Could not open Hibernate Session for transaction; nested exception is org.hibernat
- Could not open Hibernate Session for transaction; nested exception is org.hibernate.TransactionExcep
- could not open hibernate session for transaction; nested exception is org.hibernate.exception.generi
- Could not open Hibernate Session for transaction; nested exception is org.hibernate.TransactionExce
- Could not roll back Hibernate transaction; nested exception is org.hibernate.TransactionException: J
- Could not open Hibernate Session for transaction; nested exception is org.hibernate.TransactionExcep
- Could not roll back Hibernate transaction; nested exception is org.hibernate.TransactionException: JDBC rollback failed
- ssh 事务不能回滚 Could not roll back Hibernate transaction; nested exception is org.hibernate.Transaction
- Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.Generi
- Could not open Hibernate Session for transaction; nested exception is org.hibernate.TransactionExcep
- Could not open JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNest
- HTTP Status 500 - could not execute query; nested exception is org.hibernate.exception.JDBCConnectio
- nested exception is org.hibernate.exception.SQLGrammarException: could not get next sequence value
- org.hibernate.HibernateException: createSQLQuery is not valid without active transaction
- org.hibernate.HibernateException: Could not obtain transaction-synchronized Session for current thread
- ssh:配置异常:Caused by: java.lang.ClassNotFoundException: org.hibernate.engine.transaction.spi.Transacti
- org.hibernate.HibernateException: Could not obtain transaction-synchronized Session for current thre
- nested exception is org.hibernate.hql.ast.QuerySyntaxException: users is not mapped. [from users]
- nested exception is org.hibernate.QueryException: could not resolve property