I have a one to many relationship between two tables, or objects. I assume I should somehow store the many in the bean of the one.
What is your preferred way of handling this?
An Array of objects of the many?
A query of the table with the many?
A structure...?
Other?
Would you handle this differently in a case where the many tends to be only one or two 98% of the time versus a case where the many is three or more most of the time?
Or am I thinking about it all wrong to begin with?
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
- [CFCDev] Opinions on One-To-Many representation in OO Matt Williams
- Re: [CFCDev] Opinions on One-To-Many representation i... Brian Kotek
- Re: [CFCDev] Opinions on One-To-Many representation i... Salvatore Fusto
- RE: [CFCDev] Opinions on One-To-Many representati... Phillip Senn
- Re: [CFCDev] Opinions on One-To-Many representation i... Robert Munn
- Re: [CFCDev] Opinions on One-To-Many representati... Doug Hughes
- RE: [CFCDev] Opinions on One-To-Many representati... Peter Bell
- Re: [CFCDev] Opinions on One-To-Many represen... Barry Beattie
- Re: [CFCDev] Opinions on One-To-Many repr... Brian Kotek
- Re: [CFCDev] Opinions on One-To-Many... Aaron DC
- Re: [CFCDev] Opinions on One-To-... Jim Flannery
