2 ms·
I've never understood why this isn't a more common approach. JDBC is an old standard, but it's also perfectly functional. The addition of try-with-resources h
by cogman10 4y ago
I've never understood why this isn't a more common approach.
JDBC is an old standard, but it's also perfectly functional. The addition of try-with-resources has made it fairly terse once you know your way around it.
And half the time with an ORM, you are trying to figure out what SQL is ultimately being generated and tweaking to get what you want. So, cut that middle layer out and just write what you want.
- krzyk 4y agoYes, tried that once and every other developer in my team complained. I would stick with JDBC if I were the only developer.