Would it make any difference if I do:
@Transactional
public void processData() {
List entities = ....;
MyEntityRepository.save(entiti
As what has been mentioned by Ori Dar, there is no really a difference.
However, there is one thing you should notice:the method used to a save a list of elements has been renamed into
in 2.2.0.M1 according to the repo history, and the List saveAll(Iterable entities)save
method no longer takes as argument a list.
Since I don't have 50 reputation to comment the answer or question above, I have to write a new answer about this change.