3 ms·
The Java/Kotlin alternative would be `the amazing library` JDBI: http://jdbi.org/ http://jdbi.org/
by buremba 7y ago
The Java/Kotlin alternative would be `the amazing library` JDBI: http://jdbi.org/ http://jdbi.org/
- BossingAround 7y agoWow, this looks really good. Is there a different de-facto standard library for connecting to a DB from Java other than Hibernate? After using Hibernate for one of my extremely simple projects, I felt like I was using a tank to kill mosquitoes.
- encloser 7y agoJDBC is the low level connection standard. Everything I am aware of is built ontop of JDBC. Many people use the JPA libraries like Hibernate and EclipseLink. Another popular ORM is (my|i)batis. JDBI also seems to have a decent following. After years of using ORMs, I vastly prefer interfaces like HugSQL unless I'm building a dead simple CRUD app. (I'm never building simple CRUD apps.)
- BossingAround 7y agoAre you building the DB layer in Clojure and call it from Java then, or are you writing your whole app in Clojure?