From f28b4e5ca6fc79289eb7a3d8dbff75f08d61787f Mon Sep 17 00:00:00 2001 From: liamfallon Date: Sun, 18 Dec 2022 03:15:42 +0000 Subject: Upgrade the H2 database to the latest version The latest verison of H2 does not allow colums called "user" or indexes using an underscore in their name. Issue-ID: POLICY-4488 Signed-off-by: liamfallon Change-Id: I399508265eded036bc3133db890b97a0870640d5 --- .../clamp/models/acm/persistence/concepts/JpaAutomationComposition.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/src/main/java') diff --git a/models/src/main/java/org/onap/policy/clamp/models/acm/persistence/concepts/JpaAutomationComposition.java b/models/src/main/java/org/onap/policy/clamp/models/acm/persistence/concepts/JpaAutomationComposition.java index b87bad4e0..28a558cc1 100644 --- a/models/src/main/java/org/onap/policy/clamp/models/acm/persistence/concepts/JpaAutomationComposition.java +++ b/models/src/main/java/org/onap/policy/clamp/models/acm/persistence/concepts/JpaAutomationComposition.java @@ -88,7 +88,7 @@ public class JpaAutomationComposition extends PfConcept implements PfAuthorative @Column private String description; - @Column + @Column(columnDefinition = "TINYINT DEFAULT 1") private Boolean primed; @ManyToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL) -- cgit 1.2.3-korg