enj annotation @oneToMany and @manyToOne

Posted by chetan on Stack Overflow See other posts from Stack Overflow or by chetan
Published on 2010-04-23T07:22:18Z Indexed on 2010/04/23 7:23 UTC
Read the original article Hit count: 219

Filed under:

I have four table one parent table other three are child table related parent with parent primary key. Now I want to get list of child table into parent table with @oneToMany and @ManyToOne annotation of EJB. parentTable name : tblm_attendancepolicy---primary key name ---attendancepolicyid

first childtable name :tblm_empattendancepolicy second child table name : tblm_deptattendacepolicy. third child table name : tblm_compattendancepolicy.

© Stack Overflow or respective owner

Related posts about ejb3