Skip to content
Snippets Groups Projects
Unverified Commit 5678670b authored by Martin Weise's avatar Martin Weise
Browse files

Added Eager loading

parent 3df53324
Branches
Tags
4 merge requests!129New module for citation as they occur multiple,!121Modified logging, modified logging level, modified flasgger endpoint,!113Resolve "Bugs related with Query Service",!109Resolve "Use MariaDB for metadata database"
......@@ -121,7 +121,7 @@ public class Identifier {
@Column
private String doi;
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "identifier")
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, mappedBy = "identifier")
private List<Creator> creators;
@Column(nullable = false, updatable = false)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment