title: Spring Boot: Update Operation in New Thread
body: <p>I have customDao as below in my springboot app, </p>
  
  <pre><code>@Component
  public class CustomDao {
  
      private final JdbcTemplate jdbcTemplate
  
      @Autowired
      private PlatformTransactionManager transactionManager;
  
      def logger = LoggerFactory.getLogger(this.class);
      @Autowired
      public CustomDao(JdbcTemplate template) {
          this.jdbcTemplate = template
      }
  
  
      public insertRecord(sql,params){
          //insert
      }
  
      public updateRecord(sql,params){
         //update
      }
  }
  </code></pre>
  
  <p>And am trying to make only update operation asynchronously in a new Thread, I havent worked much on Threads, can someone please help me with this?</p>