Ok my legacy data is:
Code:
public class ModeVO
private String stagmo;
private String modemo;
private String flagmo;
-------------------------------------------
public class PfVO extends ModeVO
private String stagpf;
private String modepf;
private String matepf;
private String de50pf;
Primary key of ModeVO it's
private String stagmo;
private String modemo;
Primary key of PfVO it's
private String stagpf;
private String modepf;
private String matepf;
The realtion between PfVO and ModeVO must be
<many-to-one>
and the key of this relation is
ModeVO PfVO
stagmo stagpf
modemo modepf
I hope that you can help me to map it this legacy schema.
I don't found documentation about this scenario.
Because as you can see i have 2 Pojo class but with 2 different primary key and PfVO extends ModeVO.
Hope that you can help me, it very urgently for me? sorry for my english.
Devis
Italy