title: Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint violated - parent key not found
body: <p>I have many tables in oracle sql develepor. Review table is connected to Book Table. </p>
  
  <p>I already defined a foreign key to connect them each other but there is an error here.</p>
  
  <pre><code>Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint (JSPPROJECTDATABASE.FK_BOOK_ID_BOOK_TABLE) violated - parent key not found
  </code></pre>
  
  <p>How can I fix it?</p>
  
  <p>Here is my screenshot to show foreign key.</p>
  
  <p><a href="https://i.stack.imgur.com/p7A4J.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p7A4J.png" alt="enter image description here"></a></p>