embeddedId manytoone fix

fix for many-to-one joins with multiple columns