Fix lazyinitialization listing a users profiles roles
Add a lazy=false to User hibernate config as workaround. Fixes #13
This commit is contained in:
parent
87f1650003
commit
8cfd3fa58c
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@
|
|||
</set>
|
||||
|
||||
<!-- Index created in a database-object section -->
|
||||
<set name="profiles" table="user_profiles">
|
||||
<set name="profiles" table="user_profiles" lazy="false">
|
||||
<key column="user_id"/>
|
||||
<many-to-many column="profile_id" class="org.libreplan.business.users.entities.Profile"/>
|
||||
</set>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue