Fixed wrong not-null restriction on Criterion to CostCagegory hibernate definition

FEA: ItEr77S17AutomaticBudgeting

This is also fixing the broken test on CriterionDAO
This commit is contained in:
Lorenzo Tilve Álvaro 2013-06-20 16:30:04 +02:00
parent b512f75bfc
commit 48b29cc6aa

View file

@ -118,7 +118,7 @@
column="predefined_criterion_internal_name" />
<property access="field" name="active"/>
<many-to-one access="field" name="type" lazy="false" column="id_criterion_type" not-null="true" />
<many-to-one access="field" name="costCategory" lazy="false" column="id_cost_category" not-null="true" />
<many-to-one access="field" name="costCategory" lazy="false" column="id_cost_category" not-null="false" />
<!-- Indexed. It is probable to navigate from a criterion
to its children criteria -->