From a36b273a9684ade68b14d48ce9fbbff696dbf5e1 Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Thu, 24 Sep 2020 11:07:04 +0300 Subject: [PATCH] Ignore books in JSON output; define SQL fetch & cascade types for book list Signed-off-by: Pekka Helenius --- .../src/main/java/com/fjordtek/bookstore/model/Category.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookstore/src/main/java/com/fjordtek/bookstore/model/Category.java b/bookstore/src/main/java/com/fjordtek/bookstore/model/Category.java index f2620ef..0ef90b9 100644 --- a/bookstore/src/main/java/com/fjordtek/bookstore/model/Category.java +++ b/bookstore/src/main/java/com/fjordtek/bookstore/model/Category.java @@ -30,7 +30,7 @@ public class Category { sequenceName = "categoryIdSequence" ) @JsonIgnore - private Long id; + private Long id; //////////////////// // Attributes with hard-coded constraints