title: SPRING JPA REPOSITORY: entity not reflecting in database
body: <p>Trying to save my entity in database using JPA save() call but didn't get any record in database in database after call completion.</p>
  
  <p>While debug, I'm getting auto generated Id in returned entity but same is not reflecting in database.</p>
  
  <p>I Marked my repository as @Transaction .
  Using default JPA save() api.
  Not getting any exception while saving entity.</p>
  
  <pre><code>Repository:
  @Repository
  @Transactional(propagation = Propagation.REQUIRED, readOnly = true)
  public interface SampleRepository extends CrudRepository
  
  Entity:
  @Entity
  @Table(name = "SAMPLE")
  public class SAMPLE {
  </code></pre>