Comment on Show HN: PugSQL, a Python Port of HugSQLComments−buremba7yThe Java/Kotlin alternative would be `the amazing library` JDBI: http://jdbi.org/−BossingAround7yWow, 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.−encloser7yJDBC 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.)−BossingAround7yAre you building the DB layer in Clojure and call it from Java then, or are you writing your whole app in Clojure?
Comments
The Java/Kotlin alternative would be `the amazing library` JDBI: http://jdbi.org/
Wow, 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.
JDBC 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.)
Are you building the DB layer in Clojure and call it from Java then, or are you writing your whole app in Clojure?