I have the following code:
private void sendList(List myData) { myData.forEach(x -> { sendData(x); }) } @Transactional private void send