This question is locked. New answers and comments are not allowed.
Hi.
I've sqlite backend and OA version is 2013.2.702.1. I created calculated column and updated db from model and mentioned that
calcualted column is persisted in table. Why it is so? I supposed that calculated column is transient, as it's name suggests. I mean it has sense only when instance of row in memory. Or it has to be calculated in db, that why it should be persistent?
My scenario is extend OA entity with additional fields that should be calculated based on persistent, say I've got persisten wkb geo format, but based on this value I want to have wkt and geojson format. What would you suggest to me in this case: simply extend orm class with my additional fields and custom logic or use some OA mechanisms?
Thanks in advance.
I've sqlite backend and OA version is 2013.2.702.1. I created calculated column and updated db from model and mentioned that
calcualted column is persisted in table. Why it is so? I supposed that calculated column is transient, as it's name suggests. I mean it has sense only when instance of row in memory. Or it has to be calculated in db, that why it should be persistent?
My scenario is extend OA entity with additional fields that should be calculated based on persistent, say I've got persisten wkb geo format, but based on this value I want to have wkt and geojson format. What would you suggest to me in this case: simply extend orm class with my additional fields and custom logic or use some OA mechanisms?
Thanks in advance.