-
Feb 8th, 2010, 07:12 AM
#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.HibernateSystem Exception: 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.
spring 2.5, hibernate 3.4.
Thank you,
Ramin
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