Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.4K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
Interview Experiences
14.5K+ articles
School Learning
11.1K+ articles
JavaScript
9.9K+ articles
Java
9.4K+ articles
Misc
7.7K+ articles
Mathematics
5.7K+ articles
Hibernate Mapping
11 posts
Recent Articles
Why @OneToMany Does not Work with Inheritance in Hibernate?
Last Updated: 23 July 2025
Hibernate, a popular ORM (Object-Relational Mapping) framework, helps map Java classes to database tables. While Hibernate supports @OneToMany relationships, developers ma...
read more
Picked
Java-Hibernate
Hibernate Mapping
Advance Java
Hibernate Mapping Set using XML
Last Updated: 23 July 2025
In Hibernate, if we want to map one table to another with the help of a set then we use Set mapping. Set mapping can be performed if the model class or persistent class co...
read more
Picked
Java-Hibernate
Hibernate Mapping
Advance Java
Geeks Premier League 2023
Hibernate - Mapping List
Last Updated: 23 July 2025
In Hibernate, in order to go for an ordered collection of items, mostly List is the preferred one, Along with List, we have different collection mapping like Bag, Set, Map...
read more
Java
Picked
Java-Hibernate
Hibernate Mapping
Hibernate - Collection Mapping
Last Updated: 10 June 2022
Collection elements are much needed to have one-to-many, many-to-many, relationships, etc., Any one type from below can be used to declare the type of collection in the Pe...
read more
Java
Picked
Java-Hibernate
Hibernate Mapping
Hibernate - Difference Between List and Bag Mapping
Last Updated: 10 June 2022
Hibernate supports both List and Bag Mapping and Set Mapping too. Hence there will be a tradeoff, regarding which is the best data type to use. The choice will be purely b...
read more
Java
Difference Between
Picked
Java-Hibernate
Hibernate Mapping
Hibernate - SortedSet Mapping
Last Updated: 23 July 2025
SortedSet can be viewed in a group of elements and they do not have a duplicate element and ascending order is maintained in its elements. By using set elements we can use...
read more
Java
Picked
Java-Hibernate
Hibernate Mapping
Hibernate - SortedMap Mapping
Last Updated: 23 July 2025
SortedMap is a map that always maintains its corresponding entries in ascending key order. In Hibernate, using the map element and 'sort' as 'natural' we can maintain the ...
read more
Java
Picked
Java-Hibernate
Hibernate Mapping
Hibernate - Component Mapping
Last Updated: 20 April 2026
Component Mapping in Hibernate is used when one class contains another class as a member variable, and both are stored in a single database table. It helps simplify data m...
read more
Java
Picked
Java-Hibernate
Hibernate Mapping
Hibernate - Bag Mapping
Last Updated: 23 July 2025
For a multi-national company, usually, selections are happened based on technical questions/aptitude questions. If we refer to a question, each will have a set of a minimu...
read more
Java
Picked
Java-Hibernate
Hibernate Mapping
Hibernate - Inheritance Mapping
Last Updated: 30 March 2026
Inheritance Mapping in Hibernate allows us to map object-oriented inheritance (Java classes) into relational database tables. It helps represent IS-A relationships between...
read more
Java
Picked
Java-Hibernate
Hibernate Mapping
Hibernate - One-to-One Mapping
Last Updated: 20 April 2026
In Hibernate, one-to-one mapping defines a relationship where one entity instance is associated with exactly one instance of another entity. It represents a real-world rel...
read more
Picked
Java-Hibernate
Hibernate Mapping
Advance Java