Can NHibernate Criteria Pull From Cache
- by Aaron Smith
I'm loading a lot of data into the database with NHibernate. As I'm inserting, I want to check for duplicates.
I call saveorupdate in each loop without flushing the session.
Is there a way to query this session for duplicates without flushing?