From 77e9b1f0c65990d77acca8c3ab45f9b81caf5b15 Mon Sep 17 00:00:00 2001 From: omenem Date: Tue, 19 May 2020 15:52:03 +0200 Subject: [PATCH] fix --- .../ch/usi/inf/sa4/sanmarinoes/smarthut/models/Condition.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/models/Condition.java b/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/models/Condition.java index 7cec0be..70bad76 100644 --- a/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/models/Condition.java +++ b/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/models/Condition.java @@ -8,6 +8,7 @@ import lombok.EqualsAndHashCode; @Data @Entity +@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS) public abstract class Condition { @Transient private String kind;