Hi all, I'm actually evaluating NHibernate while migrating our solutions on .NET. We are using an Oracle database, with triggers before insert using sequences for affecting primary keys values. I've found the way for using sequences with NHibernate, which is invoking directly the sequence to affect the Id (select my_sequence.nextval from dual), and the result is inconsistent because of the triggers. I can't drop the triggers, because our modules won't be migrated all together, and the old ones have to continue running. So.. is there a way to tell NHibernate that the Id is given by the database and he has just to retrieve it (with a insert into... returning... query for example) ?
B.L. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
