Hi Graham and thanks for the reply. I was using a (ms) sql timestamp as the version, but this is when I first observed the insert then select behaviour. Now I can completely see why insert then select is relevant in the this situation. So after firing up the mass between my shoulders, I thought using an int strategy would stop this, so I changed.
I have to admit this is my first attempt at using NH in project, previous to this I've used linqtosql ef, and rollyourown. Yes, I'm a noob, so when reading this "I'm assuming your version is set to be generated by the DB?" I would like to know how to force NH to control the generation of the version itself. Thanks Pleb. On Nov 9, 9:21 am, Graham Bunce <[email protected]> wrote: > I'm assuming your version is set to be generated by the DB? > > In this case, I don't think there is a way to turn off the select - > though I too wish there was a way to keep it for updates but a "don't > bother this time" for inserts..... hopefully someone else will confirm > there is such a feature ! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
