Spring Data Within Your Spring Application
So far your Spring application has some basic features, enough to demonstrate the capabilities of the Spring Framework. But imagine for a moment that you need to add more attributes to the model, maybe something like tags or keywords to the documents. It should be easy enough to add the attributes and modify the DAOs and/or SQL statements, right? For easy attributes, maybe it is, but what happens if you require more complicated relationships or more attributes every week? It would be a tedious job to change it all the time.