Hibernate annotation referencedcolumnname doesnt work (referencedcolumnname is assigned primary key)
posted 1 year ago
in enthesaplasmaek entity, i made relationship as below with my two entities, EntHesaplasma and EntHesaplasmaek
when i run the below hql , hibernate makes a relationship between hesaplasmaekid and hesaplasmaid (primary key (@Id) of enthesaplasma entity). But the correct relationship should be between carihareketid in enthesaplasma entity and enthesaplasmaekid in the enthesaplasmaek entity.
Result of the query (from Hibernate Query Editor in eclipse) is shown in the attachment