Jean-Francois Leveque

FetchType.EAGER semble nécessaire

...@@ -119,7 +119,7 @@ public class User /* extends org.roliste.data.DbTraceableEntity */ implements Di ...@@ -119,7 +119,7 @@ public class User /* extends org.roliste.data.DbTraceableEntity */ implements Di
119 /** 119 /**
120 * The {link org.roliste.data.db.UserRole}s for this user. 120 * The {link org.roliste.data.db.UserRole}s for this user.
121 */ 121 */
122 - @ManyToMany 122 + @ManyToMany(fetch = FetchType.EAGER)
123 @Column(name = "USER_ROLE_ID") 123 @Column(name = "USER_ROLE_ID")
124 private List<UserRole> roles; 124 private List<UserRole> roles;
125 125
......