I have one super entity class named as "ManageMasterData" with @Inheritence (stratergy=InhertenceType=TABLE_PER_CLASS) and all the fields are there that are common to subclass entity beans
but all the subclass entity beans of above mentioned class have no extra field as all subclass has same fields members but they are refering to different tables so @Table(name=table_name) is put in subclass entity bean **as all tables which sub-entity beans refering have same column names.. but different kind of data ...
now i wanted to initiate the particular subclass entitybean using superclass ? pls tell me how do that and how to write query !!!
give example too !!
Thanks and Regards, Amit Taneja
posted 13 years ago
hey anybody pls tell me how to deal with this issue..
i will appreciate if any body could resolve this issue