Hi guys, I just noticed that sometimes, but not always, NHibernate does not generate in the trace all the SQL statements it fires... I am using Resharper with nUnit and NHibernate profiler and none of them is able to see the "hidden" statement.
I have an entity Person and an entity Address. Person has a <bag> of Address with inverse="true" and I create them in this way: Person person = new ... Address address = new Address(person) // here I add the back reference person.AddAddress(address) // save ISession session = factory.GetSession(); session.Save(address); // I can see only the statement: INSERT INTO ADDRESS // but I can't see the statement: INSERT INTO PERSON but the record in the Person table is properly added ... Why? -- 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.
