Spring Rest API Insert data

i am facing error while inserting data into mysql.i am working in multi tier layer in spring where i am getting error in calling data from implementation manager to controller repositary file for refrence is

public interface DeliveryTimeRepository extends JpaRepository<DeliveryTimeEntity, Long> { 
    DeliveryTimeEntity save(DeliveryTimeEntity deliveryTimeEntity);
}

code in access manager

public DeliveryTimeRequestDO create(DeliveryTimeRequestDO deliveryTimeRequestDO){
    DeliveryTimeEntity deliveryTimeEntity = new DeliveryTimeEntity(); 
    deliveryTimeEntity.setTime(deliveryTimeRequestDO.getDeliveryTime());
    DeliveryTimeRequestDO deliveryTEntity = deliveryTimeRepository.save(deliveryTimeRequestDO);
    return deliveryTEntity;

}

implementation manager

public DeliveryTimeRequestDO insert(DeliveryTimeRequestDO deliveryTimeRequestDO){
    DeliveryTimeRequestDO deliveryTimeReDO = deliveryTimeAccessManager.create(deliveryTimeRequestDO);
    return deliveryTimeReDO;
} 

controller

@PostMapping
public DeliveryTimeAddResponseDTO addDeliveryTime(DeliveryTimeAddRequestDTO deliveryTimeAddRequestDTO){
    DeliveryTimeAddResponseDTO deliveryTimeAddResponseDTO = new DeliveryTimeAddResponseDTO();

    //DeliveryTimeRequestDO deliveryTimerequestDO = new DeliveryTimeRequestDO(); 

    DeliveryTimeRequestDO deliveryTimeRequestDO = deliveryTimeManagerImpl.insert(deliveryTimeRequestDO.getDeliveryTime());

    deliveryTimeRequestDO.setDeliveryTime(deliveryTimeAddRequestDTO.getDeliveryTime());

    deliveryTimeAddResponseDTO.setSuccess(true);

    return deliveryTimeAddResponseDTO;
}

are u getting DataIntegrityViolationException With JPA ?
kindly confirm ?