Skip to content

Commit 8c36bd5

Browse files
committed
Changed LAZY to EAGER in Book.java
1 parent 3cb3df4 commit 8c36bd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/kaluzny/domain/Book.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class Book {
1414
private String name;
1515
private String description;
1616

17-
@ElementCollection(fetch = FetchType.LAZY)
17+
@ElementCollection(fetch = FetchType.EAGER)
1818
@CollectionTable(name = "tag")
1919
@Column(name = "Value")
2020
private List<String> tags = new ArrayList<>();

0 commit comments

Comments
 (0)