I'm facing an issue deleting an entity on my SpringBoot project:
On my service I'm calling the following function in order to delete an entity:
ecSignatoryService.deleteById(ecSignatoryDTO.getId());
.
I've verified before, the entity exist in my Database.
EcSignatoryServiceImpl:
@Override
@Transactional
public void deleteById(Long signatoryId) {
this.ecSignatoryDao.deleteById(signatoryId);
}
EcSignatoryDaoImpl:
@Override
@Transactional
public void deleteById(Long signatoryId) {
this.ecSignatoryRepository.deleteById(signatoryId);
}
And my repository is just an extension of CrudRepository.
I'm probably missing something somewhere but I have no clue.
Thanks