-
May 22nd, 2012, 05:17 AM
#1
hibernate4.LocalSessionFactoryBean missing exposeTransactionAwareSessionFactory
When I migrate from Spring and Hibernate to Spring 3.1.1 and Hibernate 4.1.2, I found that org.springframework.orm.hibernate4.LocalSessionFac toryBean does not provide exposeTransactionAwareSessionFactory property, that let Hibernate cannot find transaction to process.
Any alternative to fix it, thanks.
Spring configuration:
<bean id="adsr3SessionFactory" class="org.springframework.orm.hibernate4.LocalSes sionFactoryBean">
<property name="dataSource" ref="adsr3DataSource" />
<property name="exposeTransactionAwareSessionFactory" value="true" />
regards,
Franco
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules