Jeremy Stein - Brain

« »

Acegi Hibernate LazyInitializationException

org.hibernate.LazyInitializationException: failed to lazily initialize a collection of [type]: [class].[property], no session or session was closed

I got this exception upon login because I had declared the OpenSessionInViewFilter after my FilterToBeanProxy in web.xml. When I put OpenSessionInViewFilter first, all was well.

November 13, 2006 No Comments.

No Comments

Be the first to comment!

Leave a Reply

Your email address will not be published. Required fields are marked *

Why ask?

« »