3 ms·
I've never heard of Quarkus or used Micronaut. I did once survey available smaller/newer frameworks and considered Micronaut to be larger than my use cases. Ju
by karmakaze 6y ago
I've never heard of Quarkus or used Micronaut. I did once survey available smaller/newer frameworks and considered Micronaut to be larger than my use cases.
Just reading the Quarkus docs now, I see they're using Hibernate. That was the one big problem I had working with Spring/Boot and I would personally avoid it although I don't have recommended replacement. My problem with JPA+Hibernate was that it was being clever (e.g. delaying operations, caching query templates) as well has creating different forms SQL vs JPQL with different limitations and gotchas.
You already like Micronaut and its docs. If not using Hibernate I'd say go for it. When I looked at it, it seemed like a more modern Spring.
- reactor 6y agoHibernate is optional. I'm using Quarkus with JDBI without any issues, works flawlessly.
- karmakaze 6y agoThat's cool. Do you mean jdbi from dropwizard or jdbc template?
- reactor 6y agohttps://jdbi.org/ https://jdbi.org/ You just create a wrapper for the handle (initialized) and inject it wherever you need.
- karmakaze 6y agoYes, great stuff. I made a query library[0] that uses JDBI as it seemed to have the right amount of scope. This came about from my frustration having used Spring/JPQL/Hibernate. [0] https://github.com/karmakaze/safeql https://github.com/karmakaze/safeql