Yes my merging Object has 2 Copies of the another object.
But That's our requirement... Our Claimant Object has address of two types : Personal and Seasonal and User can update any one OR both the addresses;
So if the above is the scenario then always two records will be saved OR is there any possibility is there that only one object of Claimant will be created and if not then when I am displaying this record I am Setting these values to DTO and taking both the address as a Single line But there i am getting two records with same ID for each of the address.
Is there any way to handle the above case or Need to make any Changes to my Entities ?? Please guide me so that i can resolve this issue
The airline is called "Virgin"? Don't you want a plane to go all the way? This tiny ad will go all the way: