1. Get Hibernate transaction status stackoverflow.comI'm using Hibernate 3.3 in a Swing application. I'd like to retrieve some stats on the performed transaction and make that info available to my views. For example:
|
2. Finding the status of a Transaction forum.hibernate.org |
3. The transaction is no longer active - status: 'Committed' forum.hibernate.orgCan somebody help me with this I am getting this strange error . I am using Hibernate 3.0 with Weblogic 8.1, Oracle 9 database with 10g driver ava.sql.SQLException: The transaction is no longer active - status: 'Committed'. No further JDBC access is allowed within this transaction. at weblogic.jdbc.wrapper.JTSConnection.checkIfRolledBack(JTSConnection.java:118) at weblogic.jdbc.wrapper.JTSConnection.checkConnection(JTSConnection.java:127) at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:316) at weblogic.jdbc.wrapper.JTSConnection.prepareStatement(JTSConnection.java:425) at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:356) at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:307) at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:86) at ... |
4. UserTransaction status always NO_TRANSACTION in commit() forum.hibernate.orgUsing JBoss 4.0.3 and hibernate 2.1.8 my objects are never added to the second level cache after save. I did some digging and inside JTATransaction.afterCommitRollback() after a successful commit, it gets the status of the transaction and does a session.afterTransactionCompletion(status==Status.STATUS_COMMITTED); The status from the UserTransaction always comes back as STATUS_NO_TRANSACTION, not STATUS_COMMITTED so farther down it doesn't get put into the ... |
5. The transaction is no longer active-status:'Committed' issue forum.hibernate.orgHi, I am using Hibernate 3.0 with weblogic 9.0. Database is MSSQLServer 2000 I have done the necessary transaction attribute settings in my stateless session bean. I have created the datasource using BEA MS SQL Server Driver with 2 phase commit enabled Also I have done the necessary settings in hibernate.cfg.xml file |
6. ActionQueue status after a rollback forum.hibernate.org |
7. ABORT_ONLY transaction status 1 every 10 requests forum.hibernate.orgHi there, I am having a strange problem with JBoss+Hibernate+MySQL. I am getting a ABORT_ONLY transaction status caused by Hibernate when trying to connect to MySQL. It only happens on 1 every 10 Struts requests, not always. I'l tried it with JBoss 4.2.1 & 4.2.2, MySQL 4, 5.0 & 5.1 and JDK 5 and 6. The first exception: Code: aused by: ... |