Skip to content

pring Boot CrudRepository example. Spring Boot Data enables JPA repository support by default. CrudRepository provides generic CRUD operation on a repository for a specific type.

Notifications You must be signed in to change notification settings

urrumirko/spring-boot-crudrepository-seed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

spring-boot-crudrepository-seed

Spring Boot CrudRepository example. Spring Boot Data enables JPA repository support by default. CrudRepository provides generic CRUD operation on a repository for a specific type.

===H2 Db=== Inside the resource folder is included a data.sql which automatic insert the first 4 record to allow you to see the API up and running

===Build and Run===

  1. Using Maven Command: Go to the root folder of the project using command prompt and run the command. mvn spring-boot:run

  2. Using Executable JAR: Using command prompt, go to the root folder of the project and run the command. mvn clean package We will get executable JAR companu-0.0.1-SNAPSHOT.jar in target folder. Run this JAR as java -jar target/company-0.0.1-SNAPSHOT.jar

Tomcat server will be started.

About

pring Boot CrudRepository example. Spring Boot Data enables JPA repository support by default. CrudRepository provides generic CRUD operation on a repository for a specific type.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages