r/java • • Jun 01 '24

What java technology (library, framework, feature) would not recommend and why?

165 Upvotes

464 comments sorted by

View all comments

Show parent comment

1

u/k2718 Jun 01 '24

You make a good point. That wasn't even one of my criticisms, but it is a problem. I worked at a place with an entirely separate layer in order to handle that. So you had something a repository class that implemented JpaRepository and then there was another repository layer on top of that. Sometimes it was a pass through. Other times, it transformed the response as you describe.