Closed spring-projects-issues closed 12 years ago
Alex Barnes commented
OK, so I went to all the trouble of typing this up without spending the required time to understand exactly what was going on. I needed to be using a org.springframework.orm.hibernate4.HibernateTransactionManager
.
Please close me.
Chris Beams commented
No problem, Alex. Thanks for following up.
Alex Barnes opened SPR-8885 and commented
I just updated my Maven dependency to Spring 3.1.RC2 and whilst playing around I decided to upgrade my Hibernate dependency to 4.0.0.CR6. I have existing code which configures a
SessionFactory
using@Configuration
. I appreciate that theLocalSessionFactoryBuilder#buildSessionFactory
method is deprecated but it appears thatSessionFactoryUtils
is not compatible with the new layout in Hibernate 4. SpecificallySessionFactoryImplementor
has moved fromorg.hibernate.engine
toorg.hibernate.engine.spi
.Full stack track:
Affects: 3.1 RC2