Jean-Francois Leveque

Correction étourderie à boucle infinie en cas de validation.

...@@ -14,6 +14,7 @@ import java.sql.Timestamp; ...@@ -14,6 +14,7 @@ import java.sql.Timestamp;
14 public class PublisherVersion { 14 public class PublisherVersion {
15 @Id 15 @Id
16 @GeneratedValue(strategy = GenerationType.AUTO) 16 @GeneratedValue(strategy = GenerationType.AUTO)
17 + // TODO Faire le ménage de cet identifiant
17 @Column(name = "PUBLISHER_VERSION_ID") 18 @Column(name = "PUBLISHER_VERSION_ID")
18 private int publisherVersionId; 19 private int publisherVersionId;
19 @ManyToOne 20 @ManyToOne
...@@ -162,7 +163,8 @@ public class PublisherVersion { ...@@ -162,7 +163,8 @@ public class PublisherVersion {
162 ", Region = " + publisherAddressRegion + ", Ville = " + publisherAddressLocality + ", Pays = " + 163 ", Region = " + publisherAddressRegion + ", Ville = " + publisherAddressLocality + ", Pays = " +
163 publisherAddressCountry + ", Telephone = " + publisherTelephone + ", email = " + publisherEmail + 164 publisherAddressCountry + ", Telephone = " + publisherTelephone + ", email = " + publisherEmail +
164 ", URL = " + publisherURL + ", actif = " + publisherActive + ", History = " + publisherHistory + 165 ", URL = " + publisherURL + ", actif = " + publisherActive + ", History = " + publisherHistory +
165 - ", Version Author = " + publisherVersionAuthor + ", Version DateTime = " + publisherVersionDatetime; 166 + ", Version Author = " + publisherVersionAuthor + ", Version DateTime = " + publisherVersionDatetime+
167 + ", PublisherId = [" + publisher.getPublisherId() + "]";
166 } 168 }
167 169
168 public Publisher getPublisher() { 170 public Publisher getPublisher() {
......