On Thu, Jun 3, 2010 at 06:49, Graham Bunce <[email protected]> wrote:
> >Let me guess: you're using identity. > > > > Diego > > Can I ask if this makes a difference to the pattern? I'm NOT using NH > txn's as, like most people, I ran the tests, it worked and so, far > have not had any problems. I'm using GUID.COMB and FlushMode.Never > though. IMO this whole issue needs clearing up and adding to the wiki > as I would think a lot of people would assume TransactionScope would > work correctly without NH needing anything special. Especially if the > solution only works with SQL Server and not Oracle ??(as other posts > seem to suggest above) When you use identity, inserts are immediate because that's the only way to get the persistent Id. That's why some things seem to work, even when not following the recommended practices. Diego -- 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.
