Passage de PublisherAction de GenerationType.AUTO à GenerationType.IDENTITY
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -9,7 +9,7 @@ import java.sql.Timestamp; | ... | @@ -9,7 +9,7 @@ import java.sql.Timestamp; |
9 | @Entity | 9 | @Entity |
10 | public class PublisherAction { | 10 | public class PublisherAction { |
11 | @Id | 11 | @Id |
12 | - @GeneratedValue(strategy = GenerationType.AUTO) | 12 | + @GeneratedValue(strategy = GenerationType.IDENTITY) |
13 | private int publisherActionId; | 13 | private int publisherActionId; |
14 | 14 | ||
15 | @ManyToOne | 15 | @ManyToOne | ... | ... |
-
Please register or login to post a comment