Quote:
You have to map ALL properties of the Child class in the composite-element tag
I tried mapping ALL the properties but that causes the multiple column Exception that prevents Hibernate from starting up. I can't (at least not with the version from CVS a week ago) map the key column or index column also to a property because that causes the multiple column problem.
Now here's the weird thing, although I only have the
description mapped in the composite-element the
child_name also gets populated correctly automatically by Hibernate but the ID does not.
Since I can not duplicate columns I'm not sure how to solve this in the mapping?
It would also appear from my unit test that I do not need the seperate mapping of the Child class, is this correct? (something I was doing before generated an exception if I didn't have the seperate mapping but that seems to have cleared up)