Entity Listener non-main Data Store

Is it possible using entity listener with an entity stored in a custom PostgreSQL database? I’ve tried and it hasn’t worked

Thanks in advance.

Hi Victor,

It depends on who or what caused the data changes. If the changes are made outside the Cuba application, the listeners can not react because there is no propagation within the ORM.

Can you describe the scenario in detail?

This non-main database belongs to another application(non Cuba app), which is what makes data changes.

Thanks for the answer, I will make an scheduled task instead