can anyone tell me what is the difference between <component> and <subclass> in hibernate. I have a child class as a property inside parent class, so
i am using <component> tag to map the properties of a child object to the parent class table.
but in what scenarios do i use <subclass> tags?
any sugessions appreciated