bonjour,
je veux faire une jointure entre deux grandes tables (100.000 et 50.000 enregistrement).
mon code est :
//jointure valide_par avec grhlisteffective
@ManyToOne(fetch=FetchType.LAZY,optional=false)
// @NotFound(action=NotFoundAction.IGNORE)
@JoinColumn(name="`O/CP`",referencedColumnName="POIntern",insertable=false, updatable=false)
private Tablepocde tabpoi;
public Tablepocde getTabpoi(){
return (Tablepocde) this.tabpoi;
}
public void setTabpoi(Tablepocde tab){
this.tabpoi=tab;
}
a savoir que le jointure peut etre null et j'utilise EJB3 + jboss
merci
Partager