I am using spring-data-jpa in one of my projects. In service layer, I have annotated a private method with @Transactional and also enabled @EnableTransactionManagement in application. When one of the save method of entities throws an exception, the rest of the entities which were saved before are not rolling back. BTW I am using PostgreSQL.
Please let me know if I am missing anything here.