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]

Reply via email to