diff --git a/modules/flowable-rest/src/test/java/org/flowable/rest/api/jpa/model/Message.java b/modules/flowable-rest/src/test/java/org/flowable/rest/api/jpa/model/Message.java index af6fa20f643..3ed31577a63 100644 --- a/modules/flowable-rest/src/test/java/org/flowable/rest/api/jpa/model/Message.java +++ b/modules/flowable-rest/src/test/java/org/flowable/rest/api/jpa/model/Message.java @@ -14,8 +14,6 @@ import jakarta.persistence.Column; import jakarta.persistence.Entity; -import jakarta.persistence.GeneratedValue; -import jakarta.persistence.GenerationType; import jakarta.persistence.Id; import jakarta.persistence.Table; @@ -24,7 +22,6 @@ public class Message { @Id - @GeneratedValue(strategy = GenerationType.AUTO) @Column(name = "id", unique = true, nullable = false) private Long id; @@ -34,8 +31,15 @@ public Long getId() { return id; } + public void setId(Long id) { + this.id = id; + } + public String getText() { return text; } + public void setText(String text) { + this.text = text; + } }