Another bug fix when using mapsTo on PK properties. We have to adjust PK property names to matching database name (using mapsTo field in property definition) when setting up JOIN for Many association.
Otherwise the ON part of the JOIN clause will have the property name instead of the database field name when doing the select.
Another bug fix when using mapsTo on PK properties. We have to adjust PK property names to matching database name (using mapsTo field in property definition) when setting up JOIN for Many association.
Otherwise the ON part of the JOIN clause will have the property name instead of the database field name when doing the select.