92939495969798
user.setUpdatedAt(new Date(System.currentTimeMillis())); if (!user.isPersisted()) { user.setCreatedAt(new Date(System.currentTimeMillis())); } entityDao.saveOrUpdate(user); publish(new UserAlterationEvent(Collections.singletonList(user))); }