(Model) Set created and last updated to not-null in schema

Registered by Lars Helge Øverland on 2016-05-11

Set the created and lastUpdated properties to not-null = true in the Hibernate schema for all identifiable objects.

This applies to the file identifiableProperties.hbm which is inherited by all Hibernate mapping files for identifiable objects.

This requires an update to several unit test classes, where all object creation should happen through createX methods in DhisConvenienceTest, where one can call the setAutoFields method centrally.

Blueprint information

Status:
Complete
Approver:
Lars Helge Øverland
Priority:
Medium
Drafter:
Lars Helge Øverland
Direction:
Approved
Assignee:
Viet Nguyen
Definition:
New
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2.25
Started by
Morten Olav Hansen on 2016-07-26
Completed by
Morten Olav Hansen on 2016-07-26

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.