this.persist(sysUnite.getSysTypUnite(), em);
}
/* Verifie si type unite existe dans l'activite avant de l'inserer */
SysActiviTypUnitId sysActiviTypUnitId=new SysActiviTypUnitId(sysUnite.getSysTypUnite().getIdTypUnite(),Integer.parseInt(idActivite));
if(this.find(SysActiviTypUnit.class,sysActiviTypUnitId, em)==null){
SysActiviTypUnit sysActiviTypUnit=new SysActiviTypUnit();
sysActiviTypUnit.setId(sysActiviTypUnitId);
sysActiviTypUnit.setSysActivite(new SysActivite(Integer.parseInt(idActivite)));
sysActiviTypUnit.setSysTypUnite(sysUnite.getSysTypUnite());
this.persist(sysActiviTypUnit,em);
}
this.persist(sysUnite, em);
sysSousUnite.setSysUnite(sysUnite);