Merge pull request #14 from rkfg/fix

Remove outdated hibernate-annotations dependency and fix lazy loading
This commit is contained in:
Jeroen Baten 2015-04-01 15:47:40 +02:00
commit cdf8d48caa
3 changed files with 1 additions and 9 deletions

View file

@ -26,10 +26,6 @@
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-ehcache</artifactId>

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;
}

View file

@ -235,11 +235,6 @@
<artifactId>hibernate-core</artifactId>
<version>4.3.4.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<version>3.5.6-Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-ehcache</artifactId>