return this.findDataset(id,true);
}
public Employee findDataset(long id, boolean withAdditionalData) {
logger.debug("Looking for employee "+id);
Employee employee = manager.find(Employee.class, id);
if ((employee!=null) && (withAdditionalData)) {
int letterCount = employee.getLetters().size();
logger.debug("Leters: "+letterCount);
//logger.debug("Job-Assignment: "+employee.getJobAssignment().getId());
}
return employee;
}