Is there someone using <KTOrm>? Looks a nice libra...
# getting-started
e
Is there someone using KTOrm? Looks a nice library but I hav a question mark in my mind if it's really efficient regarding connections. At least from what I can see in the tutorial it does not provides/creates a pool of connections, is that right? Someone open to discuss?
h
Nope, the tutorial does not mention it, but it supports a DataSource, that can be a pooled one.
👍 1
e
Oh I can see here. Thank you
j
FYI ktorm is in no way related to ktor
d
@Elizeu Silva dos Santos Also take a look at #komapper... We used to use Ktorm, but switched long since.
1
d
@dave08 What were the reasons you found for switching from KtORM to KoMapper?
d
The way you need to define entities... they couldn't be data classes w/o some workarounds, I had to define interfaces that derive from Ktorm base interface... so my domain layer needed to have a dependency on Ktorm, or I needed ugly workarounds for it. Same with #exposed... when I saw Komapper, it was great from the start! You don't need your domain layer to know which db framwork you're using the entities are simple POJO data classes... you don't need mutable properties... and there's a bunch more @David Hamilton, but those were very important for us...
thank you color 1
👍 1