I had JUnit Spring Mock code, using Spring 1.1.5, Hibernate 2.1.x. It was working fine.
I moved to Spring 1.2.6 (actually changed 2 jars : spring, and spring-mock, I'm not using the "full" jars, I include all dependencies one by one). Now I get : "Transaction has been rolled back because it has been marked as rollback-only".
My TestCase extends : AbstractTransactionalDataSourceSpringContextTests
My TransactionManager is : org.springframework.orm.hibernate.HibernateTransac tionManager
I tried to dig/debug through the TransactionManager and the like, I finally end up lost with all the SessionHold, SmartTransactionObject, and the like.
What could have possibly changed concerning transaction management, between Spring 1.1.5 and 1.2.6 ? Any idea what else I should look for ?