ORM Relationship compositions and null support in object populators

Description

There are a number of times when I am populating an ORM entity that I need to populate relationships of that entity as well. Many times, the PKs of the relationships are in the RC, either as single values (one-to-one, many-to-one) or arrays/lists (one-to-many, many-to-many).

Additions to wiki docs for http://wiki.coldbox.org/wiki/ORM:BaseORMService.cfm#populate.

This will allow for an ORM entity to be build up using all RC values for relationships

Attachments

1

Gliffy Diagrams

Activity

Show:

Joel Watson June 15, 2013 at 12:04 AM

This should be done. THanks!

Luis Majano June 14, 2013 at 6:46 PM

Sure, I will edit it after. Thanks.

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com (http://www.ortussolutions.com/)
P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org (http://www.coldbox.org/)
ContentBox Platform: http://www.gocontentbox.org (http://www.gocontentbox.org/)
Linked In: http://www.linkedin.com/pub/3/731/483

Social: twitter.com/ortussolutions (http://twitter.com/ortussolutions) | twitter.com/coldbox (http://twitter.com/coldbox) | twitter.com/lmajano (http://twitter.com/lmajano) | twitter.com/gocontentbox (http://twitter.com/gocontentbox)

Joel Watson June 14, 2013 at 6:37 PM

I haven't yet. The text for the wiki is all done, but wasn't sure if you wanted it added yet. Want me to go ahead and post it?

Luis Majano June 14, 2013 at 6:29 PM

Joel, did you add this to the wiki?

Joel Watson June 12, 2013 at 1:32 AM

That's right. Either an array or list should work.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Priority

Sentry

Created May 27, 2013 at 4:44 PM
Updated November 13, 2014 at 1:46 AM
Resolved June 12, 2013 at 2:39 AM