Skip to content

jaiyram/Spring-Data

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Data JPA with Spring Boot

Welcome to the Spring Data JPA with Spring Boot repository! This repository contains hands-on demos to help you master Spring Data JPA, from basic CRUD operations to advanced features like transactions, query methods, and multiple database support.


📌 Table of Contents

  1. Project Setup for Spring Data JPA
  2. CRUD operations using Spring ORM
  3. CRUD using Spring Data JPA
  4. Pagination and Sorting
  5. Query by methods
  6. Query by annotations
  7. Criteria API
  8. Transactions
  9. Propagation, Anomalies and Isolation in Transactions
  10. Embedded database
  11. Multiple database
  12. Unit Testing
  13. Petistaan

⚙️ Prerequisites

These demos have been built using JDK 21, Spring Framework 6, and Spring Boot 3. While it is recommended to have JDK 21 installed, the examples can be adapted to other Java versions with minimal modifications.

The database used in these examples is MySQL, but the code can be adjusted to work with other databases if needed.

Before diving into Spring Data JPA, ensure you're comfortable with the following concepts:

You can learn these topics from my YouTube channel through dedicated playlists.


🚀 How to Run the Demos

Follow these steps to set up and execute the demos:

  1. Clone the repository.
  2. Import the project into your preferred IDE as a Maven Project.
  3. Configure the database connection, if necessary.
  4. Run the application and test the methods.

If you're a beginner, it's best to execute the demos in the given order to build your understanding progressively. If you're experienced, feel free to explore specific demos based on your needs.


🎥 YouTube Tutorial

These demos are explained in detail on my YouTube channel Abhishek Verma. Watch the complete playlist here: Spring Data JPA with Spring Boot.

🚀 Stay healthy, keep learning, and keep growing!


🌐 Connect with me


🛠️ Languages & Frameworks


🖥️ Software & Tools


Copyright © 2025 Abhishek Verma - All Rights Reserved

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%