Hi Doychi,

Your transaction setting looks right. Have a look at your logs at startup for anything odd. Check that only one EntityManagerFactory or SessionFactory is created. Other than that I'm out of ideas at this point. Play around with the @Transactional annotation (remove it and see what happens). It seems to me like a Spring config issue so you might want to post on their forum for some help on this.

Let us know how it goes.

kind regards

bob


Doychi wrote:
Hi Bob,

I'm using org.springframework.orm.jpa.JpaTransactionManager with
<tx:annotation-driven /> for transactions.


Bob Schellink-2 wrote:
Been doing some investigation myself and seems that @Transactional might in fact work with the OpenEntityManagerInView filter.

@Doychi: Which transaction manager have you defined in your spring.xml?



--
Doychi

Reply via email to