Hello
I have a method that performs two operations:
1. inserts new record to table using ISession.Save() method.
2. queries this table using nhibernate linq  Session.Linq<T>();

When I use transaction everything works fine:
 first insert statement is issued then select statement.

But when I remove transaction, insert statements are not issued at all.
If I force flush (using ISession.Flush()) then NHibernate issues insert but
AFTER select.

I tried to set FlushMode to always but it didn't help.

What am I doing wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to