Skip to content

TASK : Add entity listeners #166

Description

@orubel

Right now if you update data via the api, it will update the cache.

BUT what if someone manually changes data via the CLI or some other program?

It would be ideal to add @EntityListener so that we can see that change and update the cache as well.

Otherwise, the cache can still potentially get out of sync

https://solocoding.dev/blog/eng_spring_entity_listener_SpringBoot_SpringDataJpa

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions