ralidousti (2) [Avatar] Offline
#1
<tx:annotation-driven mode="aspectj" /> and OSVI
Hello,

I'm trying to use <tx:annotation-driven mode="aspectj" />, and I'm using OpenSessionInViewFilter. As soon as I switch to mode="aspectj", I get:

org.springframework.orm.hibernate3.HibernateSystemException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here; nested exception is org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here

Should I be doing anything else in addition to adding mode="aspectj"?

Any pointers will be appreciated.

Thank you,
Ramin