Hi, I'm trying to set up a Kotlin project with a P...
# getting-started
l
Hi, I'm trying to set up a Kotlin project with a PostgreSQL db using the Exposed framework. Specifically, I'm using the gradle plugin to run
generateExposedCode
on the freshly migrated db. I have the problem that the generated code contains the following import statement:
import org.jetbrains.exposed.sql.java-time.datetime
which isn't quite right. I have to manually format it to ``import org.jetbrains.exposed.sql.javatime.datetime` which makes it work. How can I make Exposed generate datetime imports correctly?
I can't format the malformatted import correctly, this is how it looks exactly (it's using backticks around
java-time
)
h
Sadly I don't know anything about Exposed, but maybe you could ask in the #exposed channel?
l
Thanks, didn't think of clicking "Browse all channels"...