I have a following domain model:
Entity1 -> ValueType1-> Entity2
How can I write the mapping file to represent the above situation (while retrieving Entity1)?
PS: I know I can use component tag when value type does not refer to another entity (in this case Entity2).
Thanks