Spring Boot JPA, MVC and H2 with example of Student

Опубликовано: 26 Июль 2026
на канале: Nilesh Dudhatra
1,334
14

Spring Boot example of how to work with H2 database by using JPA

In this video we will see :
1. Create Student class - POJO (Plain Old Java Object).
2. Use @Entity and @Id annotation to create table in Database.
3. Change application.property file according to requirement.
4. Make bootstrap page for Registration of student.
5. Whatever fetch the data from Registration page save in the H2 Database.
6. Use of CrudRepository for save or update the data.

Note :

Project file you can download from

https://drive.google.com/file/d/1k0NP...