| I don't know why, but NHibernate makes many queries to do unnecessary stuff when flushing the session after e.g. saving one item like:
 - getting all lazy collections of objects in memory
 - selecting, deleting and inserting again many-to-many data
 
 I never changed these objects, so I don't know why NHibernates thinks they need to be updated with the DB again.
 
 I made a small sample app copying all data access code from there, trying to reproduce it, but there everything went perfect.
 
 I'm really desperate now, because my project, on which I worked for a year is now at stake. So please, if anyone have any suggestions, so please feel free to make them.
 
 Thanks, Rainer.
 
 
 |