title: Spring Data JPA how to ignore select table before insert
body: <p>My Entity Class has id field and it using <code>@Id</code> and it's strategy is null. Default Strategy is <code>@GeneratedValue(strategy =  GenerationType.AUTO))</code>.</p>
  
  <p>when I call the JPA save method, it always <strong>invoke sql select before insert into</strong> ,query log is like bellow:</p>
  
  <p><strong>First Query</strong>:</p>
  
  <pre><code>Hibernate: select dataeviden0_.id as id1_0_0_, dataeviden0_.block_hash as block_ha2_0_0_ from table1 dataeviden0_ where dataeviden0_.id=?
  </code></pre>
  
  <p><strong>Second Query</strong>:</p>
  
  <pre><code>Hibernate: insert into table1 (block_hash, id) values (?, ?)
  </code></pre>
  
  <p>I could control the id myself, I want the jpa ignore select before insert ,how to do ?</p>