Hello!
I have extended DataSource with these parameters
setDataProtocol(DSProtocol.CLIENTCUSTOM);
setDataFormat(DSDataFormat.CUSTOM);
setClientOnly(false);
, like it is in some example in this forum. Everything works fine. Additionaly I'd like to have data updated automaticaly, when data are changed in db. I thought that methods updateCaches(DSResponse dsResponse) and updateCaches(DSResponse dsResponse, DSRequest dsRequest) are created for this purpose. But program never goes there in my case.
I'd like to ask whether I miss something here (register path to data) or it should be done differently e.g. using messaging framework? Thank you in advance.
Br, brtnik
I have extended DataSource with these parameters
setDataProtocol(DSProtocol.CLIENTCUSTOM);
setDataFormat(DSDataFormat.CUSTOM);
setClientOnly(false);
, like it is in some example in this forum. Everything works fine. Additionaly I'd like to have data updated automaticaly, when data are changed in db. I thought that methods updateCaches(DSResponse dsResponse) and updateCaches(DSResponse dsResponse, DSRequest dsRequest) are created for this purpose. But program never goes there in my case.
I'd like to ask whether I miss something here (register path to data) or it should be done differently e.g. using messaging framework? Thank you in advance.
Br, brtnik
Comment