You currently cannot use Exposed with Ktor safely....
# ktor
o
You currently cannot use Exposed with Ktor safely. There is no guarantee that coroutine will resume on the same thread, though usually it is. Exposed stores transaction data in thread local, which can break as a result. It can run okay for a while and then break for no apparent reason…