Posted By

sieze on 04/08/12


Tagged

jpa


Versions (?)

Entity.java


 / Published in: Java
 

JPA Entity.java Class

  1. public class Employee {
  2. @Id
  3. private long id;
  4. ...
  5. @OneToMany
  6. private List<ProjectAssociation> projects;
  7. }

Report this snippet  

You need to login to post a comment.