Dear Technical Staff,
I need your help. I have an Object, it has firstName,LastName,age,sex and so on.. I want to map this Object to 4 or 5 tables. The tables may or may not have relationships. Using join we can do it, but all the relational tables will have relationship. It means that other table will refer the primary key of the first table. But my client's requirement is somewhat different. I am unable to write that mapping file. When I created three mapping files for one Object and tried to put in hibernate.cfg.xml file, it is throwing exception like duplicate mapping exception.... like this. Please give me any code snnippet for mapping file to map one object to multiple tables without using <join> or give me any link so that I can read and prepare the mapping file . Please help me
Please respond to me in
piku.mishra@gmail.com