ajouter @ID sur les methods getID setID
This commit is contained in:
@@ -131,9 +131,13 @@ public class Conference implements Serializable{
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
@Id
|
||||
@GeneratedValue(strategy=GenerationType.AUTO)
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
@Id
|
||||
@GeneratedValue(strategy=GenerationType.AUTO)
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user