Skip to content

Commit

Permalink
[CHORE] - Switch fetch type to EAGER
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Sikina authored and Luke-Sikina committed Jul 30, 2024
1 parent 1d2fcc7 commit eab9a0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public static Map<String, Integer> getTypeNameMap(){
/**
* introduce sub-accessRule to enable the ability of more complex problem, essentially it is an AND relationship.
*/
@ManyToMany(fetch = FetchType.LAZY)
@ManyToMany(fetch = FetchType.EAGER)
@JoinTable(name = "accessRule_subRule",
joinColumns = {@JoinColumn(name = "accessRule_id", nullable = false)},
inverseJoinColumns = {@JoinColumn(name = "subRule_id", nullable = false)})
Expand Down

0 comments on commit eab9a0f

Please sign in to comment.