Skip to content

Commit eab9a0f

Browse files
Luke SikinaLuke-Sikina
Luke Sikina
authored andcommitted
[CHORE] - Switch fetch type to EAGER
1 parent 1d2fcc7 commit eab9a0f

File tree

1 file changed

+1
-1
lines changed
  • pic-sure-auth-services/src/main/java/edu/harvard/hms/dbmi/avillach/auth/entity

1 file changed

+1
-1
lines changed

pic-sure-auth-services/src/main/java/edu/harvard/hms/dbmi/avillach/auth/entity/AccessRule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public static Map<String, Integer> getTypeNameMap(){
162162
/**
163163
* introduce sub-accessRule to enable the ability of more complex problem, essentially it is an AND relationship.
164164
*/
165-
@ManyToMany(fetch = FetchType.LAZY)
165+
@ManyToMany(fetch = FetchType.EAGER)
166166
@JoinTable(name = "accessRule_subRule",
167167
joinColumns = {@JoinColumn(name = "accessRule_id", nullable = false)},
168168
inverseJoinColumns = {@JoinColumn(name = "subRule_id", nullable = false)})

0 commit comments

Comments
 (0)