Hi All, I am getting the data using sessio.load() in many-to-many mapping.
And i am putting all the data in DTO's. Now i am updating data by using Setters. AFter that i am updating data using session.update(). (I tried with session.saveOrUpdate() also). But i am getting deletion operation on Reference table which contains reference keys of two table.
Can any one can send me sample code for passing dto objects for updation in many-to-many mapping..