Merge pull request #14 from lmann99/fix-lazyinitialization-user-profiles-roles

Fix lazyinitialization listing a users profiles roles
This commit is contained in:
lmann99 2017-01-23 22:42:37 -05:00 committed by GitHub
commit cdd2399028

View file

@ -53,7 +53,7 @@
</set> </set>
<!-- Index created in a database-object section --> <!-- 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"/> <key column="user_id"/>
<many-to-many column="profile_id" class="org.libreplan.business.users.entities.Profile"/> <many-to-many column="profile_id" class="org.libreplan.business.users.entities.Profile"/>
</set> </set>