Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Entity
- public class Film {
- @Id @GeneratedValue private long id;
- private String titel;
- private int jaar;
- private String genre;
- private static long identifier = 0;
- @OneToMany(cascade={CascadeType.ALL})
- private List<Acteur> acteurs = new ArrayList<Acteur>();
- public Film(){
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement