

The first step to work with data in database is to model it’s structure in JPA entity classes and create repository interfaces for them.


spring-boot-starter-data-jpa : It includes spring data, hibernate, HikariCP, JPA API, JPA Implementation (default is hibernate), JDBC and other required libraries.Uses Tomcat as the default embedded container. spring-boot-starter-web : It is used for building web layer, including REST APIs, applications using Spring MVC.If you are using gradle then please find related dependencies. In this example, we are using maven to add runtime jars in project.
