ItEr53S12CUCreacionRecursosLimitantesItEr52S13: Added limitingResource not-null constraint
This commit is contained in:
parent
0f4a1ac839
commit
0f65eb966f
2 changed files with 2 additions and 2 deletions
|
|
@ -94,7 +94,7 @@ public abstract class Resource extends IntegrationEntity {
|
|||
private Set<ResourcesCostCategoryAssignment> resourcesCostCategoryAssignments =
|
||||
new HashSet<ResourcesCostCategoryAssignment>();
|
||||
|
||||
private Boolean limitedResource;
|
||||
private Boolean limitedResource = Boolean.FALSE;
|
||||
|
||||
private void clearCachedData() {
|
||||
assignmentsByDayCached = null;
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
<property name="code" access="property" not-null="true" unique="true"/>
|
||||
|
||||
<property name="limitedResource" column="LIMITED_RESOURCE" />
|
||||
<property name="limitedResource" column="LIMITED_RESOURCE" not-null="true"/>
|
||||
|
||||
<set access="field" cascade="all-delete-orphan" inverse="true" name="criterionSatisfactions">
|
||||
<key column="resource" not-null="true"/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue