jpa relations mapping code example
Example 1: jpa mapping
@Column
private String nom;
public void setNom(String n) {nom= n;}
public String getNom() {return nom;}
Example 2: jpa mapping
@Id
@GeneratedValue(Strategy = GenerationType.IDENTITY)
private Integer id;