3 - Spring Data JPA | Spring Boot | Project Work - Enquiry App CRUD + Thymeleaf Template | By eZeon

Опубликовано: 30 Март 2026
на канале: Vikram Thakur
2,632
30

SOURCE CODE (GitHub Link)
https://github.com/VikramThakur8/Enqu...

PURPOSE:
This video covers CRUD Operations using Spring Data JpaRepository interface. Thymeleaf Template is used in View Layer instead of JSP for Server Side View. And Thymeleaf th:insert, form tags, th:action, th:object, th:field and th:each tags for iteration are also covered.

TECHNOLOGY USED:
Java 8, Spring Boot, Spring Data JPA, MySQL Database, NetBeans IDE, Hibernate JPA Implementation, Maven, MySQL Workbench, JSON, MicroServices.

PREVIOUS VIDEO IN CASE YOU MISSED :
   • 2 - Spring Data JPA | Spring Boot | Projec...  

SOURCE CODE : controller method :

public String save(@ModelAttribute EnquirySource es) {
enquirySourceRepository.save(es);
return "redirect:/sources";
}

@ModelAttribute("enquirySourceList")
public List getEnquirySourceList(){
return enquirySourceRepository.findAll();
}