Hi, I'm having a problem with a BAG collection of one to many related objects. I'm useing a custom save eventlistener to check the data before it's actually going to the database, so right before the base.PerformSaveOrUpdate() I'm creating changelogs if necessary.
However, now my object in the one to many collection isn't saving anymore... let's say i have an invoice with OrderItem bag (one to many). when i would save a new order item (through the invoice) I would be able to do so, but when i would change the product in the order item, or the quantity, it isn't changed, while it is really passing through the PerformSaveOrUpdate() Method, but it's just not saving!! here are the logs (TestdataKba is the type in the one to many collection ) starting from the point of where the Testdatakba (order item) is hitting the base.PerformSaveOrUpdate(event); 2010-05-10 14:17:02,448 [14] DEBUG NHibernate.Engine.VersionValue - unsaved-value: 0 2010-05-10 14:17:02,448 [14] DEBUG NHibernate.Event.Default.AbstractSaveEventListener - detached instance of: ET.Deap.Common.Model.TestDataKba 2010-05-10 14:17:02,448 [14] DEBUG NHibernate.Event.Default.DefaultSaveOrUpdateEventListener - updating detached instance 2010-05-10 14:17:02,448 [14] DEBUG NHibernate.Event.Default.DefaultSaveOrUpdateEventListener - updating [ET.Deap.Common.Model.TestDataKba#7241] 2010-05-10 14:17:02,448 [14] DEBUG NHibernate.Event.Default.DefaultSaveOrUpdateEventListener - updating [ET.Deap.Common.Model.TestDataKba#7241] why isn't this saving? I'm clearly seeing the entity going as a changed object to the saveOrUpdate Method.. -- 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.
