I have a use-case where I need to execute some logic asynchronously, after my entity has been updated in database.
I am evaluating option to use JPA listener @PostUpdate method, which will be executed after my entity has been updated in database, but it seems that it blocks the main thread.
Can the logic inside of the @PostUpdate listener method be executed asynchronously?