Fix broken test (LIABILITY->EXPENSE is now valid) and adjust mapping of RecurringTransaction in Transaction to better reflect the actual relationship

This commit is contained in:
2019-02-18 21:22:02 +01:00
parent a02a5635a0
commit fe5380a865
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ public class Transaction {
private Date date;
private String description;
private Long amount;
@OneToOne(fetch = FetchType.EAGER)
@ManyToOne(fetch = FetchType.EAGER)
private RecurringTransaction recurringTransaction;
public Long getId() {