jpa mapping

Solutions on MaxInterview for jpa mapping by the best coders in the world

showing results for - "jpa mapping"
Henry
12 Mar 2017
1@Column(name="annee_naissance")
2private Integer anneeNaissance;
3public void setAnneeNaissance(Integer a) {anneeNaissance = a;}
4public Integer getAnneeNaissance() {return anneeNaissance;}
5
Juana
23 Sep 2016
1@Id
2@GeneratedValue(Strategy = GenerationType.IDENTITY)
3private Integer id;
4
Denice
25 Jan 2017
1@Column
2private String nom;
3public void setNom(String n) {nom= n;}
4public String getNom() {return nom;}
5
Jamal
30 Oct 2018
1@Id
2@GeneratedValue(Strategy = GenerationType.AUTO)
3private Integer id;
4private void setId(Integer i) { id = i; }
5public Integer getId()  { return id; }
6