Hi all, To illustrate the question, lets work with a 'News' Entity bean which contains info related to a single News Article (ie. Headline, Author, etc). This can be modelled very simply with CMP as the data is all in one table.
However, if each News Article can have a number of related News Articles, I'm not sure how best to implement it. Obviously, we'll need another table to store the relationships. Options I can think of are: 1) Create a new Entity called 'News_Relationship' which stores data on a single mapping. Then use CMR to model the one-to-many relationship - but there could be thousands of these tiny beans (maybe this is a good thing!) 2) Use BMP - simply have a second 'select' statement in my ejbLoad method that popluates an array containing the relationships. But you'd loose all the benefits of CMP which seems wrong to me. Any body have any comments or other options? Thanks, Jason View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850647#3850647 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850647 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user