Fix erroneous annotation on Category mapping

Signed-off-by: William Brawner <me@wbrawner.com>
This commit is contained in:
William Brawner 2020-06-27 22:59:11 +00:00
parent 65c25f9db9
commit 745cf38815

View file

@ -14,7 +14,6 @@ public class Category implements Comparable<Category> {
private final Long id = null;
private String title;
private String description;
@JoinColumn(nullable = false)
@OneToMany(mappedBy = "category", fetch = FetchType.EAGER)
private final Set<CategoryAmount> amounts = new HashSet<>();
@JoinColumn(nullable = false)