Can NHibernate Criteria Pull From Cache
Posted
by Aaron Smith
on Stack Overflow
See other posts from Stack Overflow
or by Aaron Smith
Published on 2009-07-10T20:16:22Z
Indexed on
2010/03/24
11:03 UTC
Read the original article
Hit count: 278
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?
© Stack Overflow or respective owner