Skip to content

Commit

Permalink
#3611 - Upgrade to Spring 6, Boot 3, Wicket 10, etc.
Browse files Browse the repository at this point in the history
- get Hibernate to validate existing MariaDB DB schema
  • Loading branch information
reckart committed Feb 26, 2023
1 parent 745c283 commit 614952a
Show file tree
Hide file tree
Showing 18 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class CurationWorkflow
private String mergeStrategy;

@Lob
@Column(length = 64000)
@Column(length = 16_777_216)
private String mergeStrategyTraits;

public CurationWorkflow()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public class DocumentRepository
private String type;

@Lob
@Column(length = 64000)
@Column(length = 16_777_216)
private String properties;

public DocumentRepository()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ public class ElgSession
private Project project;

@Lob
@Column(length = 4096)
@Column(length = 16_777_216)
private String accessToken;

@Temporal(TemporalType.TIMESTAMP)
private Date accessTokenValidUntil;

@Lob
@Column(length = 4096)
@Column(length = 16_777_216)
private String refreshToken;

@Temporal(TemporalType.TIMESTAMP)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public class KnowledgeBase
private boolean skipSslValidation = false;

@Lob
@Column(length = 64000)
@Column(length = 16_777_216)
private String traits;

public String getRepositoryId()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public class LoggedEvent
private String annotator;

@Lob
@Column(length = 64000, nullable = true)
@Column(length = 16_777_216, nullable = true)
private String details;

public LoggedEvent()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public class AnnotationDocument
* problems to the curator.
*/
@Lob
@Column(length = 64000)
@Column(length = 16_777_216)
private String annotatorComment;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public class AnnotationFeature
private String uiName;

@Lob
@Column(length = 64000)
@Column(length = 16_777_216)
private String description;

private boolean enabled = true;
Expand Down Expand Up @@ -128,7 +128,7 @@ public class AnnotationFeature
private String linkTypeTargetFeatureName;

@Lob
@Column(length = 64000)
@Column(length = 16_777_216)
private String traits;

private boolean curatable = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public class AnnotationLayer
private String type;

@Lob
@Column(length = 64000)
@Column(length = 16_777_216)
private String description;

private boolean enabled = true;
Expand All @@ -82,7 +82,7 @@ public class AnnotationLayer
private boolean readonly = false;

@Lob
@Column(nullable = true, length = 64000)
@Column(length = 16_777_216, nullable = true)
private String onClickJavascriptAction;

@Column(name = "name", nullable = false)
Expand Down Expand Up @@ -128,7 +128,7 @@ public class AnnotationLayer
private ValidationMode validationMode = ValidationMode.ALWAYS;

@Lob
@Column(length = 64000)
@Column(length = 16_777_216)
private String traits;

public AnnotationLayer()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class Project
private String slug;

@Lob
@Column(length = 64000)
@Column(length = 16_777_216)
private String description;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class Tag
private String name;

@Lob
@Column(length = 64000)
@Column(length = 16_777_216)
private String description;

@ManyToOne
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class TagSet
private String language;

@Lob
@Column(length = 64000)
@Column(length = 16_777_216)
private String description;

private boolean createTag = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class DefaultProjectPreference
private String name;

@Lob
@Column(length = 64000)
@Column(length = 16_777_216)
private String traits;

public Long getId()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class UserPreference
private String name;

@Lob
@Column(length = 64000)
@Column(length = 16_777_216)
private String traits;

public Long getId()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public class UserProjectPreference
private String name;

@Lob
@Column(length = 64000)
@Column(length = 16_777_216)
private String traits;

public Long getId()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public class Recommender
private Set<AnnotationDocumentState> statesIgnoredForTraining;

@Lob
@Column(length = 64000)
@Column(length = 16_777_216)
private String traits;

private Recommender(Builder builder)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class ProjectInvite
private Date expirationDate;

@Lob
@Column(length = 64000, nullable = true)
@Column(length = 16_777_216, nullable = true)
private String invitationText;

@Temporal(TemporalType.TIMESTAMP)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class TelemetrySettings
private int version;

@Lob
@Column(length = 64000)
@Column(length = 16_777_216)
private String traits;

@Temporal(TemporalType.TIMESTAMP)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class WorkloadManager
private String workloadType;

@Lob
@Column(length = 64000)
@Column(length = 16_777_216)
private String traits;

public WorkloadManager()
Expand Down

0 comments on commit 614952a

Please sign in to comment.