Hi,
I have an abstract base class that contains a many-to-many association. However, in one of my subclasses, I need to change this association to a one-to-many as I have extra data that I need to store along with each associated object.
Am I able to easily override this? How would I change the mapping in the joined-subclass element so that it gets overridden with the new type of association?
I tried just re-declaring the association in the mapping file but then I got a "Found shared references to a collection" exception.
Am I tackling this in the right way or is there a better way to handle this?
Thanks,
Jason
|