Skip to content

Hibernate - Component Mappings---> In component mapping, we will map the dependent object as a component. An component is an object that is stored as an value rather than entity reference. This is mainly used if the dependent object doen't have primary key. It is used in case of composition (HAS-A relation), that is why it is termed as component.

License

pratikdimble/Hibernate_Component_Mapping_Using_DAO_Using_Maven

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hibernate_Component_Mapping_Maven

Hibernate - Component Mappings A Component mapping is a mapping for a class having a reference to another class as a member variable. We have seen such mapping while having two tables and using element in the mapping file. Now we will use element in the mapping file and a single table would be used to keep the attributes contained inside the class variable.

About

Hibernate - Component Mappings---> In component mapping, we will map the dependent object as a component. An component is an object that is stored as an value rather than entity reference. This is mainly used if the dependent object doen't have primary key. It is used in case of composition (HAS-A relation), that is why it is termed as component.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages