Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Entity
- @Table(name = T_ORGANIZATION)
- public class Organization implements IOrganization {
- @Column(name = M_ORGANIZATION_EMPLOYMENTS)
- @OneToMany(targetEntity = Employment.class)
- @JoinTable(name = J_ORGANIZATION_EMPLOYMENT)
- private Collection<IEmployment> employments;
- ..
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement