Lazy loading fixed.

This commit is contained in:
Sergey Shpikin 2014-07-16 13:50:36 +04:00
parent c5d55e5d1e
commit 2dc5e16464

View file

@ -65,6 +65,7 @@ public class UserDAO extends GenericDAOHibernate<User, Long>
throw new InstanceNotFoundException(loginName,
User.class.getName());
} else {
user.getProfiles().size();
return user;
}