hwacolors.blogg.se

Employee management system spring boot github
Employee management system spring boot github










employee management system spring boot github

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.

employee management system spring boot github

  • spring-boot-starter-test : It is used to test Spring Boot applications with libraries including JUnit, Hamcrest and Mockito.ģ.
  • h2 : Though we can add any database easily using datasource properties in application.properties file, we are using h2 database in reduce unnecessacery complexity.
  • employee management system spring boot github

    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.












    Employee management system spring boot github