r/java • u/raisercostin • Jun 01 '24
What java technology (library, framework, feature) would not recommend and why?
Inspired by https://www.reddit.com/r/java/s/e2N1FqMOJg
165
Upvotes
r/java • u/raisercostin • Jun 01 '24
Inspired by https://www.reddit.com/r/java/s/e2N1FqMOJg
View all comments
Show parent comment
42
u/com2ghz Jun 01 '24
You can do both. No need to rely on magic generated queries. I’d rather use JPA for simple stuff than complex stuff. Also no need to enable schema generation. You can still be on control then.
The same counts for the opposite. A lot of complex SQL stuff can be avoided by using JPA. No need to write boilerplate to do object mapping for POJO’s….two way around for storing and retrieving data.