Skip to content

This GitHub repository contains several projects demonstrating Hibernate mapping techniques. Each project focuses on a specific mapping type and provides a clear example of its implementation. Explore the projects to learn and apply Hibernate mappings in your own projects.

Notifications You must be signed in to change notification settings

Shubh2-0/Hibernate-Mapping

Repository files navigation

๐Ÿ—บ๏ธ Hibernate Mapping

GitHub stars GitHub forks

Master ORM Mapping Techniques

One-to-One, One-to-Many, Many-to-Many mappings


๐ŸŽฏ About

Comprehensive examples of Hibernate mapping techniques. Learn how to map complex entity relationships in JPA/Hibernate.

๐Ÿ“š Mapping Types

Type Annotation Example
One-to-One @OneToOne User โ†” Profile
One-to-Many @OneToMany Department โ†’ Employees
Many-to-One @ManyToOne Employees โ†’ Department
Many-to-Many @ManyToMany Students โ†” Courses

๐Ÿ’ก Key Concepts

  • โœ… Unidirectional vs Bidirectional
  • โœ… Cascade operations
  • โœ… Fetch types (LAZY/EAGER)
  • โœ… Join columns & tables
  • โœ… Mapped by attribute

๐Ÿ› ๏ธ Technologies

Hibernate | JPA | MySQL | Maven

๐Ÿ“ฌ Contact

LinkedIn Gmail


Keywords: Hibernate ORM Mapping OneToOne OneToMany ManyToMany JPA Entity-Relationships

About

This GitHub repository contains several projects demonstrating Hibernate mapping techniques. Each project focuses on a specific mapping type and provides a clear example of its implementation. Explore the projects to learn and apply Hibernate mappings in your own projects.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages