https://kotlinlang.org logo
#ktor
Title
# ktor
g

Goetz Markgraf

02/10/2023, 2:18 PM
Hello everyone. I think about using ktor for the next backend instead of spring. Can anyone recommend a DB access Library? On my shortlist, I have • exposed • KTORM • Hibernate Personally, I don’t want to use Hibernate, since it relies on mutable fields for an entity. exposed is not (yet) supported by someone and not even 1.0 I cannot find the people behind KTORM – is there is an organization behind it. What would you suggest? And why?
c

CLOVIS

02/10/2023, 2:24 PM
KMongo is great, but it doesn't seem like you're open to MongoDB. Exposed is good too. Note that whatever selection you decide, it is completely different from Ktor so you can decide what you want
h

hfhbd

02/10/2023, 2:24 PM
Another (more mobile) framework: sqldelight https://cashapp.github.io/sqldelight/2.0.0-alpha05/
👍 1
g

Goetz Markgraf

02/10/2023, 2:26 PM
@CLOVIS, thanx for your input
KMongo is great, but it doesn’t seem like you’re open to MongoDB
I am personally open to it, but we have to connect to an MySQL.
Exposed is good too.
Yes, I think so, too. But can you rely a customer project on it? Do you have any experience?
it is completely different from Ktor
yes, I know.
c

CLOVIS

02/10/2023, 2:27 PM
You should probably ask in #exposed if you want testimonies
g

Goetz Markgraf

02/10/2023, 2:28 PM
THX. I didn’t know this channel. I’ll do
a

Austin Pederson

02/10/2023, 5:53 PM
We setup a really small CRUD API using SQLDelight and it was pretty nifty to work with so I can say that it is 100% doable (at least in a POC kind of way)
r

Roland

02/10/2023, 9:00 PM
I would recommend (K)GraphQL + sqldelight/kmongo etc., than you can use an Apollo Client in frontend. That's also pretty multiplattform friendly.
r

Ryan Brink

02/11/2023, 5:42 PM
I've been very happy with Komapper https://www.komapper.org
👍 2
h

helpermethod

02/22/2023, 7:40 AM
Wow, komapper looks awesome!
8 Views