Skip to content

Commit

Permalink
increase response column
Browse files Browse the repository at this point in the history
  • Loading branch information
pstaeck committed Sep 13, 2024
1 parent 57292af commit 28a91dc
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.persistence.Transient;
import org.apache.commons.lang3.tuple.Pair;
import org.hibernate.annotations.GenericGenerator;

Expand All @@ -26,14 +28,20 @@
@Table(name = "manipulation_data")
public class ManipulationData {

@Transient
private static final int MAXIMUM_LENGTH = 2147483647;

@Id
@GenericGenerator(name = "ManipulationDataIDGen", strategy = "increment")
@GeneratedValue(generator = "ManipulationDataIDGen")
private long incId;

private long startTimestamp;
private long finishTimestamp;

@Column(columnDefinition = "clob", length = MAXIMUM_LENGTH)
private String response;

private ResponseTypes.Result result;
private String methodName;

Expand Down

0 comments on commit 28a91dc

Please sign in to comment.