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

barrongineer

09/19/2018, 8:20 PM
Can anyone point me in the right direction for using Exposed with TornadoFX? Google isn’t giving me much love. Currently getting:
Copy code
Sep 19, 2018 3:54:51 PM tornadofx.DefaultErrorHandler uncaughtException
SEVERE: Uncaught error
java.lang.IllegalStateException: No transaction in context.
m

mkporwit

09/20/2018, 2:33 AM
Can you post a sample of the code that’s giving you trouble? At first glance, this looks like the error thrown when you execute SQL statements outside of the
transaction {}
context.
b

barrongineer

09/20/2018, 1:11 PM
I switched from an in-mem db to a file-backed one, and everything started working
5 Views