https://kotlinlang.org logo
#exposed
Title
# exposed
o

oshai

09/11/2018, 7:07 PM
@tapac - do you think it can be a good idea to wire up exposed to async driver?
I am working on https://github.com/jasync-sql/jasync-sql and was wondering if its possible to plug it to exposed to get nice syntax
t

tapac

09/11/2018, 8:47 PM
Exposed a very tightly bound to jdbc PreparedStatement and you have to wrap at least Connection/DatabaseMetadata/Datasource from java.sql package to make it work.
o

oshai

09/11/2018, 9:38 PM
In jasync there are prepared statement support (not jdbc one)
the usage of threadlocal might be problematic, but maybe with coroutines it is solvable
2 Views