Merge pull request #14 from rkfg/fix
Remove outdated hibernate-annotations dependency and fix lazy loading
This commit is contained in:
commit
cdf8d48caa
3 changed files with 1 additions and 9 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ public class UserDAO extends GenericDAOHibernate<User, Long>
|
|||
throw new InstanceNotFoundException(loginName,
|
||||
User.class.getName());
|
||||
} else {
|
||||
user.getProfiles().size();
|
||||
return user;
|
||||
}
|
||||
|
||||
|
|
|
|||
5
pom.xml
5
pom.xml
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue