diff --git a/src/main/java/com/loafle/overflow/meta/MetaSensorItem.java b/src/main/java/com/loafle/overflow/meta/MetaSensorItem.java index f5e375d..e86cfb4 100644 --- a/src/main/java/com/loafle/overflow/meta/MetaSensorItem.java +++ b/src/main/java/com/loafle/overflow/meta/MetaSensorItem.java @@ -36,7 +36,8 @@ public class MetaSensorItem { // this.typeId = typeId; // } - @Column(name = "TYPE_ID", nullable = false) + @ManyToOne + @JoinColumn(name = "TYPE_ID", nullable = false) public MetaSensorItemType getMetaSensorItemType() { return metaSensorItemType; }