title: Java async save/update data into db using spring
body: <p>I would to perform asynchronous save and update of data using spring4/boot1.5 and java8. How can I do this and is it possible to make it using @Async annotation on the method?</p>
  
  <p>I have a controller which creating some data in external portal and I'am saving(later updating, after each creation) the status(logs) of whole transaction in the database (id + status - my columns in db). I want to return immediately id of this transaction to user and make this updating/saving of data in database in the background. How can I make it, could someone please provide me a snippet of code?</p>