Axel Fontaine opened SPR-6409 and commented
Note: This works perfectly in 2.5.6 with the same Hibernate version.
In HibernateTransactionManager.doBegin() line 555 (hibTx = session.beginTransaction();) results in a call to TransactionSynchronizationManager.bindResource with the following arguments:
key = the datasource
value = connection holder
So far so good.
Execution of HibernateTransactionManager.doBegin() then resumes until line 571 (TransactionSynchronizationManager.bindResource(getDataSource(), conHolder);) which then bombs out on line 179 with java.lang.IllegalStateException: Already value !
This is a serious regression that should definitely be fixed before 3.0 goes final.
Keep up the good work,
Axel (going back to 2.5.6 until this is resolved)
Affects: 3.0 RC2
Referenced from: commits 5165465