> Where do you get "Y" from? From the column or the foreign table? Because in
> my code, you'd get
>
> XRecord {
> void setY(YRecord);
> void setAnotherY(YRecord);
> }
Yes, I've confused using referenced table names with removing _ID
column suffixes, I'm sorry. OK, different (yet a bit less probable
collision scenario):
FK-column 1: Y_ID
FK-column 2: Y
Now, they'd both produce setY().
I think this is a minor issue, and I'd prefer to handle such
customisation in strategies. I know you don't agree on this one :-)
Cheers
Lukas