I don’t see any examples on that page that use nullEmptyInclude and mix named and positional parameters. The concept of named and positional parameters have nothing to do with ORM or even ColdBox and are just part of how ColdFusion works.
Named parameters look like this and can be specified in any order, even omitting optional ones.
obj.myMethod( param2=‘value1’, param2=‘value2’, param3=‘value3’ );
Positional parameters look like this and must be in order. You can only omit ending ones:
obj.myMethod( ‘value1’, ‘value2’, ‘value3’ );
What you did was a mix of the two which is invalid ColdFusion syntax.
populateModel(ppsdService.get( rc.id ), nullEmptyInclude="*");
ppsdService.get( rc.id ) is a positional value, but nullEmptyInclude="*" is a named value.
Back to your issue at hand, I agree with Joel. Simplify what you are doing and get just a plain ORM example working, then build on it.
Thanks!
~Brad
ColdBox Platform Evangelist
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com