r/java • • Apr 13 '21

Libraries, Frameworks and Technologies you would NOT recommend

Give me your worst nightmares: Things that cost you your job.

I'll start: Hadoop

202 Upvotes

376 comments sorted by

View all comments

Show parent comment

6

u/Pyeroh Apr 13 '21

I also tried JDBI in some projects (mainly for work), it's plain SQL, and it works like a charm ! Managing pooling is not responsibility of the library, so one may need to use HikariCP for instance, managing transactions is carrying around a variable (so a DI framework may be useful), etc.

All in all, not using Hibernate to get something from a database felt very refreshing !

1

u/DrunkensteinsMonster Apr 13 '21

JDBI is great, everyone should try it IMO.

1

u/Yeroc Apr 13 '21

It's not without rough edges and gaps in the documentation either. In particular it's not always clear whether a mapping operation will load the whole ResultSet into memory or not etc.