, , , , . , ( @Async, , - ) , , .
, @Async , , , . , , , @Transactional @Service, Session EntityManager; , , , @Async @Transactional , Session EntityManager, .
TL DR Provide an exception handler to throw exceptions that will be swallowed by the asynchronous stream otherwise, or use the large try/ catchbody method for debugging @Async. You will probably see some kind of exception, and you will need to take the right actions to avoid this.
source
share