Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
NHibernate 2.0.1
NHibernate.LazyInitializationException: failed to lazily initialize a collection, no session or session was closed
SQLite 3
Hi every body,
I have the following problem.
1) All my collections are lazy
2) I try to add a record with a duplicate fied value "Name", when I try to do this, a NHibernate.Exceptions.GenericADOException is fired
3) When I try to make a second insert (not a duplicate), the previous insert is still pending and regenrates the same execution
3) ISession.Clear() solves the problems but when I try to access my collection, an exception of a type NHibernate.LazyInitializationException
What can I do please ?
Best regards