Beginner |
|
Joined: Sat Aug 01, 2009 6:44 am Posts: 24
|
Hi i am developing an ERP in Nhibernate with C# i have an object business partner which contains certainly different collections of address, bank accounts..... when i save a new business object ... it does swiftly...
but when i fetch any BusinessPartner From database and add one or two more address in to collection of business partner and try to saveorupdate() it does not work and throw me this exception
Illegal attempt to associate a collection with two open sessions
Its my Third day on this problem... dont know where is the problem... Hoping that some one can help me out
in Mapping File i tried all type of cascading but didn't work then i stick to save-update
|
|