jccanova
Jul 27th, 2009, 09:32 PM
:mad:
Hi , Im just getting mad with this HibernateTransacitonManager and Hibernate heheheh
I marked the problem... I did the configuration of the TransacionManager with tx:annotationDriven by the book .... and so far so good... Problem is that Hibernate is insisting to commit the transaction.... i guess something is missing.... Jurgen Hoeller could help in this 1.. :P .....
anyway...
Best Regards,
JC.
I dont want that hibernate manage any JdbcConnection for me how i can disable this?
31511219 [main] DEBUG org.springframework.transaction.support.Transactio nSynchronizationManager - Clearing transaction synchronization
31511219 [main] DEBUG org.springframework.transaction.support.Transactio nSynchronizationManager - Removed value [org.springframework.orm.hibernate3.SessionHolder@5 fbbf3] for key [org.hibernate.impl.SessionFactoryImpl@15023d2] from thread [main]
23211219 [main] DEBUG org.springframework.transaction.support.Transactio nSynchronizationManager - Removed value [org.springframework.orm.hibernate3.SessionHolder@5 fbbf3] for key [org.hibernate.impl.SessionFactoryImpl@15023d2] from thread [main]
23211219 [main] DEBUG org.springframework.transaction.support.Transactio nSynchronizationManager - Removed value [org.springframework.jdbc.datasource.ConnectionHold er@43b5bb] for key [org.apache.commons.dbcp.PoolingDataSource@476914] from thread [main]
23211219 [main] DEBUG org.springframework.transaction.support.Transactio nSynchronizationManager - Removed value [org.springframework.jdbc.datasource.ConnectionHold er@43b5bb] for key [org.apache.commons.dbcp.PoolingDataSource@476914] from thread [main]
23211297 [main] DEBUG org.springframework.jdbc.datasource.DataSourceUtil s - Resetting isolation level of JDBC Connection [jdbc:jtds:sybase://172.19.11.67:5100/GDBRWRPR;useLOBs=false;TDS=4.2, UserName=SBAW0001, jTDS Type 4 JDBC Driver for MS SQL Server and Sybase] to 2
19311297 [main] DEBUG org.springframework.jdbc.datasource.DataSourceUtil s - Resetting isolation level of JDBC Connection [jdbc:jtds:sybase://172.19.11.67:5100/GDBRWRPR;useLOBs=false;TDS=4.2, UserName=SBAW0001, jTDS Type 4 JDBC Driver for MS SQL Server and Sybase] to 2
19311360 [main] DEBUG org.springframework.orm.hibernate3.HibernateTransa ctionManager - Closing Hibernate Session [org.hibernate.impl.SessionImpl@e9c592] after transaction
73011360 [main] DEBUG org.springframework.orm.hibernate3.HibernateTransa ctionManager - Closing Hibernate Session [org.hibernate.impl.SessionImpl@e9c592] after transaction
73011360 [main] DEBUG org.springframework.orm.hibernate3.SessionFactoryU tils - Closing Hibernate Session
78911360 [main] DEBUG org.springframework.orm.hibernate3.SessionFactoryU tils - Closing Hibernate Session
78911360 [main] DEBUG org.hibernate.jdbc.ConnectionManager - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
46411360 [main] DEBUG org.hibernate.jdbc.ConnectionManager - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
46411360 [main] DEBUG org.hibernate.jdbc.ConnectionManager - transaction completed on session with on_close connection release mode; be sure to close the session to release JDBC resources!
32511360 [main] DEBUG org.hibernate.jdbc.ConnectionManager - transaction completed on session with on_close connection release mode; be sure to close the session to release JDBC resources!
32511375 [main] ERROR org.jbpm.graph.def.GraphElement - action threw exception: Could not commit Hibernate transaction; nested exception is org.hibernate.TransactionException: Transaction not successfully started
301org.springframework.transaction.TransactionSyst emException: Could not commit Hibernate transaction; nested exception is org.hibernate.TransactionException: Transaction not successfully started
at org.springframework.orm.hibernate3.HibernateTransa ctionManager.doCommit(HibernateTransactionManager. java:659)
at org.springframework.transaction.support.AbstractPl atformTransactionManager.processCommit(AbstractPla tformTransactionManager.java:732)
at org.springframework.transaction.support.AbstractPl atformTransactionManager.commit(AbstractPlatformTr ansactionManager.java:701)
at org.springframework.transaction.interceptor.Transa ctionAspectSupport.commitTransactionAfterReturning (TransactionAspectSupport.java:321)
at
Hi , Im just getting mad with this HibernateTransacitonManager and Hibernate heheheh
I marked the problem... I did the configuration of the TransacionManager with tx:annotationDriven by the book .... and so far so good... Problem is that Hibernate is insisting to commit the transaction.... i guess something is missing.... Jurgen Hoeller could help in this 1.. :P .....
anyway...
Best Regards,
JC.
I dont want that hibernate manage any JdbcConnection for me how i can disable this?
31511219 [main] DEBUG org.springframework.transaction.support.Transactio nSynchronizationManager - Clearing transaction synchronization
31511219 [main] DEBUG org.springframework.transaction.support.Transactio nSynchronizationManager - Removed value [org.springframework.orm.hibernate3.SessionHolder@5 fbbf3] for key [org.hibernate.impl.SessionFactoryImpl@15023d2] from thread [main]
23211219 [main] DEBUG org.springframework.transaction.support.Transactio nSynchronizationManager - Removed value [org.springframework.orm.hibernate3.SessionHolder@5 fbbf3] for key [org.hibernate.impl.SessionFactoryImpl@15023d2] from thread [main]
23211219 [main] DEBUG org.springframework.transaction.support.Transactio nSynchronizationManager - Removed value [org.springframework.jdbc.datasource.ConnectionHold er@43b5bb] for key [org.apache.commons.dbcp.PoolingDataSource@476914] from thread [main]
23211219 [main] DEBUG org.springframework.transaction.support.Transactio nSynchronizationManager - Removed value [org.springframework.jdbc.datasource.ConnectionHold er@43b5bb] for key [org.apache.commons.dbcp.PoolingDataSource@476914] from thread [main]
23211297 [main] DEBUG org.springframework.jdbc.datasource.DataSourceUtil s - Resetting isolation level of JDBC Connection [jdbc:jtds:sybase://172.19.11.67:5100/GDBRWRPR;useLOBs=false;TDS=4.2, UserName=SBAW0001, jTDS Type 4 JDBC Driver for MS SQL Server and Sybase] to 2
19311297 [main] DEBUG org.springframework.jdbc.datasource.DataSourceUtil s - Resetting isolation level of JDBC Connection [jdbc:jtds:sybase://172.19.11.67:5100/GDBRWRPR;useLOBs=false;TDS=4.2, UserName=SBAW0001, jTDS Type 4 JDBC Driver for MS SQL Server and Sybase] to 2
19311360 [main] DEBUG org.springframework.orm.hibernate3.HibernateTransa ctionManager - Closing Hibernate Session [org.hibernate.impl.SessionImpl@e9c592] after transaction
73011360 [main] DEBUG org.springframework.orm.hibernate3.HibernateTransa ctionManager - Closing Hibernate Session [org.hibernate.impl.SessionImpl@e9c592] after transaction
73011360 [main] DEBUG org.springframework.orm.hibernate3.SessionFactoryU tils - Closing Hibernate Session
78911360 [main] DEBUG org.springframework.orm.hibernate3.SessionFactoryU tils - Closing Hibernate Session
78911360 [main] DEBUG org.hibernate.jdbc.ConnectionManager - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
46411360 [main] DEBUG org.hibernate.jdbc.ConnectionManager - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
46411360 [main] DEBUG org.hibernate.jdbc.ConnectionManager - transaction completed on session with on_close connection release mode; be sure to close the session to release JDBC resources!
32511360 [main] DEBUG org.hibernate.jdbc.ConnectionManager - transaction completed on session with on_close connection release mode; be sure to close the session to release JDBC resources!
32511375 [main] ERROR org.jbpm.graph.def.GraphElement - action threw exception: Could not commit Hibernate transaction; nested exception is org.hibernate.TransactionException: Transaction not successfully started
301org.springframework.transaction.TransactionSyst emException: Could not commit Hibernate transaction; nested exception is org.hibernate.TransactionException: Transaction not successfully started
at org.springframework.orm.hibernate3.HibernateTransa ctionManager.doCommit(HibernateTransactionManager. java:659)
at org.springframework.transaction.support.AbstractPl atformTransactionManager.processCommit(AbstractPla tformTransactionManager.java:732)
at org.springframework.transaction.support.AbstractPl atformTransactionManager.commit(AbstractPlatformTr ansactionManager.java:701)
at org.springframework.transaction.interceptor.Transa ctionAspectSupport.commitTransactionAfterReturning (TransactionAspectSupport.java:321)
at