Consider a scenario, in which there is a need to create and remove attributes, which are memorized, upon invocation of a command.
When a memorized attribute is created dynamically upon invocation of a command, it’s value is not fetched from the database. But, if it is created in init_device() method, then the value gets fetched from the database.
Attached is a rudimentary Java Device to check the same. It contains command CreateDynAttr to create dynamic attributes, and command DeleteDynAttr to remove dynamic attributes. Dynamic attributes are also created inside init_device() method.
What is the way to enforce the fetching of the memorized value from the database for a TANGO attribute?