title: Spring JPA: Should the Save() method commit data to the database?
body: <p>I am using <code>Spring data</code> for my project, I am using a Standard <code>Repository</code> that <code>extends CRUD Repository</code>. </p>
  
  <p>My code is working as expected, however when I call <code>repository.save()</code> the database is <strong>not</strong> altered?</p>
  
  <p>Do I also need to then call a <code>commit</code> after this in order to alter the Database? Or should the <code>repository.save()</code> method be altering the database automatically?</p>