mrurespect / OnlineTeachingPlatform

Online Teaching Platform integrating Hibernate with Spring-boot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Online Teaching Platform

This project demonstrates advanced Hibernate mappings and features, providing a practical example for integrating Hibernate with Spring Boot. The project covers primary key, foreign key, cascade operations, fetch types, one-to-one mapping, entity lifecycle, and one-to-many and many-to-many relationships.

Table of Contents

Dependencies

  • Spring Boot Starter Data JPA: Simplifies the implementation of JPA-based data access layers, providing the infrastructure for Hibernate ORM.
  • MySQL Connector/J (runtime): Enables connectivity to MySQL database, allowing seamless integration with Hibernate.

Project Structure

The project is structured to showcase various Hibernate features and mappings. Key classes include:

  • Instructor and InstructorDetail for one-to-one mapping with cascade operations.
  • Course and Review for one-to-many mapping.
  • Student and Course for many-to-many mapping. Capture d’écran 2024-01-24 200509

About

Online Teaching Platform integrating Hibernate with Spring-boot


Languages

Language:Java 100.0%