{
ejb = user.getJobDetails().toEJB(user.getSsn());
persist(ejb);
} else {
Industry ind = new Industry();
Occupation occ = new Occupation();
ind.setIndustrycode(user.getJobDetails().getIndustryCode());
occ.setOccupationcode(user.getJobDetails().getOccupationCode());
ejb.setEmployersize(user.getJobDetails().getEmployerSize());
ejb.setIndustry(ind);
ejb.setOccupation(occ);
ejb.setSelfemployed(user.getJobDetails().getSelfEmployed());
ejb.setUnionmember(user.getJobDetails().getUnionMember());