I am looking for some help with code i am developing, I have 3 entity classes Organisation, Groups and Users. Organisation is the parent class which has a list of Groups and Group has a list of Users. The assosiation between Tables looks as follows:
The problem is that the when i save an organisation the mapping between organisation and groups is fine, but missing some of the assosiation between groups and users. I believe this is due to some of the users are updating instead of inserting. Here is the mapping files that i am using, any help would be welcome.
posted 6 years ago
I managed to find out what the problem was, the code i posted works fine, it was an issue with my test data. Thanks