title: Hibernate and CRUDRepository Spring Boot
body: <p>I am new to Hibernate and Spring boot. I understand that hibernate is ORM tool so that you can map objects to database and just use save() to save obj into the database automatically. In Spring Boot, I would do something like</p>
  
  <pre><code>public interface CourseRepository extends CrudRepository&lt;Course, String&gt;{
  }
  </code></pre>
  
  <p>and somehow I will get all the CRUD operations like save and findAll etc. </p>
  
  <p>From another tutorial of hibernate, it says that session is required to save the object to the database. However, I don't see any form of sessionfactory or session being implemented in Spring boot and I am still able to do the save and findAll operations etc. </p>
  
  <p>How is this happening and what relations does this have with hibernate?
  Where exactly should I start to find out more about hibernate, stuff like @OneToMany and basically understand the details of the whole application to database operations in spring boot? Thanks</p>