Question is a follow on from CrudRepository and Hibernate: save(List<S>) vs save(Entity) in transaction.
If I do not mark the following below with @Transactional. If the database connection drops or something happens as Spring Data JPA is saving a list. Will the list be rolled back or it will just be partly saved?
@Transactional
public void processData() {
List<MyEntity> entities = ....;
MyEntityRepository.save(entities);
}