Projects:Configurable Child OneToMany Property In Parent Entity/QA
QA
The goal of this project is to add a platform capacity keeping current behavior when not used.
Tested:
- No modifications in generated entities (code or memory) when all ad_column.is_child_property_in_parent is Y in all cases. Checked by comparing code before and after.
- Having hb.generate.all.parent.child.properties=true in Openbravo.propeties and some is_child_property_in_parent=N all they are generated in parent as deprecated.
- Same as before without Openbravo.properties changed, they are not generated at all.
When this capacity is used it affects DAL model which is broadly tested by other integration tests, there is no need to create ad-hoc test cases for this feature, which might require of DB modifications.
Code Review
https://docs.google.com/spreadsheets/d/1tozd5S_3QJsCztoLQASg1WAypzaBZv8Ev9Vq52PMnmA/edit#gid=0
Performance
This project does not affect performance per se. It affects, though heap size.
Tested:
- There is no heap size differences when not modifying any ad_column.is_child_property_in_parent
- Retained heap is reduced when making use of it as explained here.