I would like to know more about component mapping in hibernate. How is it different from regular mapping.
>>>Hibernate terms the Address entity is called the component and it cannot have its own primary key, it uses the primary key of the enclosing Student entity.
I have not understood above statement also.
When where and why to use it. Any ideas, resources, links, sample code highly appreciated. thanks in advance.