applyDiffDSP5(dsp5, dto);
// just for an ID insert ?
Long id = dSP5DAO.save(dsp5).getId();
return id;
} catch (JpaSystemException e) {
throw new CustomException(MessageFormat.format(
LocaleManager.getInstance(getSession()).getMessageResource(getClass()).getString("EXCEPTION_LICENSE_NUMBER_ALREADY_EXISTS"),
dto.getLicenseNumber()));
}
}