Hi,
I use a very basic sample. Just one table with OR mapping.
Everything seems working fine for update : I do many modifications on the object, and then I flush the session to generate SQL instructions.
I create one object with C# code like : lObject = new TType()
I make modifications on the values and then I flsuh the session.
I don't understand why NHiberante generate two commands when the session flush.
The SQL Profiler shows two instructions :
INSERT ... with empty values
UPDATE ... with the values I entered
Does somebody knows why ?
Thanks a lot !
David.[/b]
|