https://kotlinlang.org logo
#spring
Title
# spring
c

Christopher Hübner

03/12/2024, 8:25 AM
Spring with Hibernate ORM, or Exposed?
h

hho

03/12/2024, 9:47 AM
Anything but Hibernate... Spring with jOOQ is also nice.
👍 1
h

hennilu

03/12/2024, 11:27 AM
Working with Hibernate and we have tried once to move away. Went for Ktorm, but it seems to be unmaintained except for someone saying in GH Issues that the maintainers are planning a new release. Now we’re considering several alternatives combined with Spring: • jOOQ • Exposed (DSL, not DAO) • Spring Data JPA + nativeQueries • The new JdbcClient that came with Spring Framework 6.1.x
s

Saharath Kleips

03/12/2024, 4:24 PM
We moved our spring apps from data jpa to jooq recently and are quite happy with the level of flexibility and safety it gives us. I’ve used exposed for some small projects and have found it nice, but haven’t used it in a larger production setting and don’t really plan to since our team is happy with jooq.
j

Jacob

03/12/2024, 9:20 PM
I don't think hibernate with it's massive amount of mutable state fits with the more functional style typical of kotlin developers
Also hibernate team themselves don't seem to be spring data jpa fans.
2 Views