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