4 ms·
> Personally I like being able to throw @Repository on an Interface and get paginated CRUD operations for free. If it doesn’t work how you expect / want it to
by bradleyjg 8y ago
> Personally I like being able to throw @Repository on an Interface and get paginated CRUD operations for free.
If it doesn’t work how you expect / want it to work, now what? With a library I can go the declaration and see what’s going on and what I might be able to do. With annotation magic I have no choice but to go to google where my choices will be diving into extremely verbose and not particularly well written documentation or cargo culting based on stack overflow answers.
- jrs95 8y agoYou can still just configure and use Hibernate or JDBC directly. Although I wouldn’t be surprised if it was also possible to add your own custom implementation with different methods on the repository. It’s by far the most flexible and extensible framework I have worked with.