Skip to content

Tag Archives: Hibernate Mapping

Hibernate Mapping

The inheritance hierarchy can be seen easily in the table of the database. In Hibernate we have three different strategies available for Inheritance Mapping Table… Read More
In general, a student can have an address/employee can have an address. For these kind of requirements, we can follow Component mapping. It is nothing… Read More
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… Read More
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… Read More
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… Read More
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… Read More
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.… Read More
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… Read More

Start Your Coding Journey Now!