title: Spring Data Jpa doesn't save entity in new Thread
body: <p>I have a little problem when I want to save entity in other Thread. e.g.</p>
  <pre><code>Executors.newCachedThreadPool().submit(() -&gt; userService.save(user))
  </code></pre>
  <p>and in userService I have a lot of logic and at the end I want to save user into database using <code>userRepository.save(user)</code> and repo doesn't save it. What am I doing wrong? If someone want more info let me know</p>