Re:Problems with JPA/Hibernate
by oweiler on Monday April 12, 2021 @01:56AM
(#26776400)
Both JOOQ and JDBI are superior to JPA in my book.
[ Parent
| on HN ]
jOOQ is the most obvious contender. Since I use Java I like type safety, jOOQ gives me that (like Hibernate) without trying to abstract the fact that I make queries to a db (which Hibernate does).
Re:Problems with JPA/Hibernate
by ChrisWreck on Monday April 12, 2021 @05:16AM
(#26777371)
jOOQ and JPA doesn't solve the same problem.
That's why JOOQ is superior.
Re:Problems with JPA/Hibernate
by ChrisWreck on Monday April 12, 2021 @05:47AM
(#26777599)
It depends on what you want to do.
Complex queries with multiple joins? jOOQ.
Persist changes to complex aggregate models with multiple layers of child entities? JPA/Hibernate.