So I am trying to get my head around all these new OOP things for ColdFusion. I feel like I have a better understanding of entity beans and how they get updated, but one thing that I have not seen an example of is how join tables get updated.

 

Let’s say that I have a blog entry table “entry” and each entry can be “joined” to related categories in the table “category_entry_jn” table. Now, when I am updating my entry via a Form, do I pass category IDs to the entry bean for updating the join table? Or does it get passed to EntryDAO? What would these look like?

 

EntryInstance.SetCategoryIDs(FORM.listCategoryID) ????

 

Thanks,

ben

......................

Ben Nadel

Web Developer

Nylon Technology

6 West 14th Street

New York, NY 10011

212.691.1134

212.691.3477 fax

www.nylontechnology.com

----------------------------------------------------------
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