Mark as non-lazy the relationship between a user and its related entities (Label and Criterion)

This avoids problems saving a project when entering directly via the entry
points with a user that has a label associated.

FEA: ItEr77S04BugFixing
This commit is contained in:
Manuel Rego Casasnovas 2013-03-20 13:28:14 +01:00
parent a062bc05ce
commit babe4ffa79

View file

@ -71,11 +71,11 @@
<property name="resourcesLoadFilterPeriodTo" column="resources_load_filter_period_to"/>
<many-to-one name="projectsFilterLabel" cascade="none"
<many-to-one name="projectsFilterLabel" cascade="none" lazy="false"
column="projects_filter_label_id" />
<many-to-one name="resourcesLoadFilterCriterion" cascade="none"
column="resources_load_filter_criterion_id" />
lazy="false" column="resources_load_filter_criterion_id" />
</class>