Introduction In this article, we are going to see why the Spring Data findAll method is actually a terrible Anti-Pattern. A picture is worth 1000 words: You’d be surprised how many times I’ve seen this issue where tons of data was fetched from the DB just to filter it in Java and throw away the vast majority of records that were not needed for that particular business requirement. Anti-Pattern First, let’s start with the Anti-Pattern definition, as given by Wikipedia: An anti-pattern in software engineering, project management, and business processes is a... Read More
The post The Spring Data findAll Anti-Pattern appeared first on Vlad Mihalcea.