Referencing the following excerpt on pg 307 of JPWH:
Quote:
A disadvantage is the more complex code needed to manage the CategorizedItem entity instances to create and remove associations—they have to be saved and deleted independently, and you need some infrastructure in the CategorizedItem class, such as the composite identifier. However, you can enable transitive persistence with cascading options on the collections from Category and Item to CategorizedItem, as explained in chapter 12, section 12.1, “Transitive persistence.”
I've read Ch 12 and unsuccessfully attempted to enable transitive persistence from Category and Item to CategorizedItem using the downloaded CE code. Can you tell me what needs to be done to get this to work?
Thanks,
Gary