Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Backend development for Java graduates
·
Module 5
Database Integration with Spring Data JPA
1
Understanding ORM, JPA, and Hibernate
Explain the concepts of Object-Relational Mapping (ORM) and the role of JPA and Hibernate.
2
Configuring Data Sources and JPA in Spring Boot
Configure a data source and JPA properties in a Spring Boot application.
3
Defining JPA Entities
Define JPA entities using @Entity, @Table, @Id, and @GeneratedValue.
4
JPA Entity Relationships
Map entity relationships using @OneToMany, @ManyToOne, @OneToOne, and @ManyToMany.
5
Extending JpaRepository for Basic CRUD
Create repository interfaces by extending JpaRepository for basic CRUD operations.
6
Custom Queries with Spring Data JPA
Write custom query methods using Spring Data JPA naming conventions.
7
Custom Queries with @Query and JPQL
Implement custom queries using the @Query annotation with JPQL.
8
Automating Timestamps with Entity Callbacks
Configure entity lifecycle callbacks to automate timestamp management using @PrePersist and @PreUpdate.
Previous module
API Design and Data Transfer Objects
Next module
Advanced Database Operations & Transactions