From 745cf38815741b78484344a543e764f45652a015 Mon Sep 17 00:00:00 2001 From: William Brawner Date: Sat, 27 Jun 2020 22:59:11 +0000 Subject: [PATCH] Fix erroneous annotation on Category mapping Signed-off-by: William Brawner --- .../main/java/com/wbrawner/budgetserver/category/Category.java | 1 - 1 file changed, 1 deletion(-) diff --git a/api/src/main/java/com/wbrawner/budgetserver/category/Category.java b/api/src/main/java/com/wbrawner/budgetserver/category/Category.java index 828e2d6..289b651 100644 --- a/api/src/main/java/com/wbrawner/budgetserver/category/Category.java +++ b/api/src/main/java/com/wbrawner/budgetserver/category/Category.java @@ -14,7 +14,6 @@ public class Category implements Comparable { private final Long id = null; private String title; private String description; - @JoinColumn(nullable = false) @OneToMany(mappedBy = "category", fetch = FetchType.EAGER) private final Set amounts = new HashSet<>(); @JoinColumn(nullable = false)