title: Spring Data JPA does not work with transaction isolation "READ_UNCOMMITTED"
body: <p>There are two threads, and two transactions bound to each thread: </p>
  
  <p><code>DEBUG o.s.orm.jpa.JpaTransactionManager - Creating new transaction with name [com.workflow.consumer.RecordEventConsumer$MockitoMock$1882263982.handleRecordsAddedEvent]: PROPAGATION_REQUIRED,ISOLATION_READ_UNCOMMITTED; ''</code></p>
  
  <p><code>Creating new transaction with name [com.workflow.statemachine.action.CreateContentAction.execute]: PROPAGATION_REQUIRED,ISOLATION_READ_UNCOMMITTED; ''</code></p>
  
  <p>Both isolation levels are <code>READ_UNCOMMITTED</code>. But when first thread insert something in database with </p>
  
  <pre><code>repository.saveAndFlush(contextObject)
  </code></pre>
  
  <p>Where repository is <code>JpaRepository&lt;T, I&gt; repository</code></p>
  
  <p>And there are actual logs that insertion happened <code>DEBUG org.hibernate.SQL - insert into task_unit ...etc</code></p>
  
  <p>The transaction from second thread still could not retrieve this very object with neither of this: </p>
  
  <pre><code>repository.getOne(id);
  repository.findOne(id);
  entityManager.find(class, id);
  </code></pre>
  
  <p>More than this, I've tried to connect to the db directly and fire </p>
  
  <pre><code>BEGIN TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
  SELECT * from task_unit
  </code></pre>
  
  <p>And still no success.</p>
  
  <p>Do I miss something ? </p>