Basically I have a class called RaceHorse that is read only to the extent that its "own" properties are all read only, but it's one-to- many association with a Factor class needs to be editable: i.e. I need to be able to add, edit and delete factors in the collection in RaceHorse.
I want to be able to avoid generating any update statements for the RaceHorse entity as the system does not have permissions to do updates in the DB. I tried to map the class mutable="false" - this goes to far and makes the collection of mutable objects read-only too. I haven't tried dynamic-update yet - as so far our app objects span multiple sessions and I've heard that dynamic update only works when you're updating the objects in the same session that loaded them so there may be a lot of work to get dynamic update to stop generating update statements. Also I understand that dynamic update is more costly. Thanks skinnydan72 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
