log = new LogInformation();
log.setCreateBy(sessionCredentials.getCurrentUser().getId());
log.setCreateDate(new Timestamp(System.currentTimeMillis()));
getMajor().setId(null);
} else {
Major category = getMajor();
setMajor((Major) manager.getById(Major.class, getMajor().getId()));
log = getMajor().getLogInformation();
try {
PropertyUtils.copyProperties(getMajor(), category);
} catch (IllegalAccessException e) {