Hi Dietrich,
Thanks for the reply - I replied last Friday but it seems to have
disappeared into the mists of the internet.
> I have always noticed merge, save, and delete running the sql statement on
> call. If you call them within the scope of a transaction, however, you can
> always roll back the transaction to negate the changes.
Well that it what I am seeing here too (insert generated when I call
merge). I really wouldn't expect it to though because the flush mode
is 'Never.'
In this case I do not want to roll back the transaction - I am
building up a domain object over multiple web requests and want to re-
associate it with the current session so that I can rely on lazy
loading.
The ideal solution here would probably be to switch to some sort of
session-per-conversation pattern but I simply do not have the time to
change the architecture.
regards,
Jordan.