[nhusers] Re: SaveOrUpdate and Delete inconsistency?

2009-07-27 Thread Gustavo Ringel
Since NH 2.0.1 there is no automatic flush, so you should commit a transaction or use flush never and flush by your self.During save or update you are getting because you may be using a strategy like identity which needs a flush to get the ID, but this is more an inevitable problem than a feature.

[nhusers] Re: SaveOrUpdate and Delete inconsistency?

2009-07-27 Thread Dmitiry Nagirnyak
Hi Gustavo, Ok. Thanks. I'll wrap things in a transaction. Cheers. 2009/7/27 Gustavo Ringel gustavo.rin...@gmail.com Since NH 2.0.1 there is no automatic flush, so you should commit a transaction or use flush never and flush by your self. During save or update you are getting because you may