This project demonstrates core JPA Entity Relationships such as:
@OneToOne@ManyToOne@OneToMany@ManyToMany
No external relational database setup is required.
- Uses H2 in-memory database (lightweight ~2MB footprint)
 - Fully supports both JDBC and R2DBC access
 - Ideal for rapid prototyping, unit testing, and learning purposes
 
You can insert sample data into various JPA entity relationships using the following API endpoints. Sample JSON payloads are available here.
- 
POST /api/emp/createInserts data into a@OneToOnerelationship. - 
POST /api/tchr/createInsert data into@OneToManyrelationship.👉 Data is automatically populated at startup using a
CommandLineRunner. - 
POST /api/movie/createInserts data into a@ManyToManyrelationship. 
- The application starts on port 
8082by default. - You can change the port configuration in 
application.properties. 
- Spring Boot
 - Spring Data JPA with Hibernate
 - H2
 
- Git 2.24.0
 - IntelliJ IDEA 2021.1.1.1
 - Gradle