How to refresh JPA entities when backend database changes asynchronously? How to refresh JPA entities when backend database changes asynchronously? postgresql postgresql