0
私はParent and a Child
の間の休止状態で1対多のマッピングを持っています。データベースのChild table
は、parentId
とその他の詳細はほとんどありません。 どのようにそれらを複数の列の基準またはHQLで外部結合することができますか。複数の列でのHQL外部結合
すなわち、parentId
とgenderInd
上など
私のコードのsnipet以下Givern、Parent
クラスで
、Child
クラスで
private parentId;
private Set<Child> childSet;
、
private Long childId;
private Parent parent;
private String name;
private String genderInd;