Hibernate version: 3
Hi,
I am after some advice for modelling a mapping file. I wish to model a Page that contains a collection of PageAsset.
There will be many Pages that can potentially contain the same PageAssets for example let's say a PageAsset is a news article. We would wish to have several Pages that contain this particular PageAsset.
I am thinking I need to map Page with a set of PageAsset with a many-to-many relationship, as indicated by the Hibernate book's many to many between a Category and Item but I would very much like advice on the key association type for these requirements.
Regards and thanks, ADC.
|