Copy link to clipboard
Copied
Am I setting the property wrong?
teams.cfc
component peristent = true {
...
property name = 'emails' fieldtype='one-to-many' cfc = 'emails' fkcolumn = 'team' type = 'array' singularname = 'email' inverse = 'true' fetchtype = 'lazy' lazy = 'extra';
...
}
emails.cfc
component persistent = true {
...
property name = 'team' fieldtype = 'many-to-one' cfc = 'teams' lazy = true;
...
}
If I try entityload('teams'), all emails are loaded too - I do not want this. If I try it the other way around, entityload('emails'), the team is loaded. I only want it to show up when I explicity call it.
Whether it's set to true, extra, or false -- nothing changes. ormreload() is being used at the beginning of each request.
Any ideas?
Copy link to clipboard
Copied
Got the same problem.... have you solved?