Tracked this down.  The changes are not being flushed so the new ID
isn't being retrieved till after our unit of work is completed.  We
tried changing FlushMode to Always but didn't see any difference in
flushing behavior (The Session had already been used at this point so
that may have something to do with this?) and instead just had to
force a manual flush.  This seems very wrong to me.  Any suggestions
or thoughts?

Thanks,

Shane

On Mar 20, 1:10 pm, Shane C <[email protected]> wrote:
> We've run into a weird problem here.
>
> We have a RuleSet which contains Rules.  In our mapping files RuleSets
> have a bag of Rules with cascade='all-delete-orphan' and
> inverse='true'.  When we add a rule to a ruleset and save the ruleset
> the ID isn't getting set on the rule.  Is this expected behavior or
> are we missing something?
>
> Thanks,
>
> Shane
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to