Lazy loading fixed.
This commit is contained in:
parent
c5d55e5d1e
commit
2dc5e16464
1 changed files with 1 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ public class UserDAO extends GenericDAOHibernate<User, Long>
|
|||
throw new InstanceNotFoundException(loginName,
|
||||
User.class.getName());
|
||||
} else {
|
||||
user.getProfiles().size();
|
||||
return user;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue