Skip to content

Commit

Permalink
fix compability problems with lenght of objects
Browse files Browse the repository at this point in the history
  • Loading branch information
siewer committed Aug 28, 2024
1 parent 02039a6 commit f11c06b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ public final class Component {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private final long id;

@Column(length = 60)
@Column(length = 160)
private final String groupid;

@Column(nullable = false, length = 60)
@Column(nullable = false, length = 160)
private final String name;

@Column(nullable = false, length = 100)
@Column(nullable = false, length = 120)
private final String version;

@Column(length = 30)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void getOrCreateCodeRepoBranch_create_nok() {
CodeRepo codeRepo = findCodeRepoService.findByRemoteId(14493750L);

assertThrows(Exception.class, () -> {
getOrCreateCodeRepoBranchService.getOrCreateCodeRepoBranch(StringUtils.repeat('x', 80), codeRepo);
getOrCreateCodeRepoBranchService.getOrCreateCodeRepoBranch(StringUtils.repeat('x', 250), codeRepo);
});
}
}

0 comments on commit f11c06b

Please sign in to comment.