Replies: 5 comments
-
/cc @evanchooly |
Beta Was this translation helpful? Give feedback.
-
Hmm...might be related to this: #16785 |
Beta Was this translation helpful? Give feedback.
-
Tried adding @Blocking to indicate it can run on a blocking thread and I get this: |
Beta Was this translation helpful? Give feedback.
-
Doing this to do the blocking hibernate access also doesn't work:
|
Beta Was this translation helpful? Give feedback.
-
Removing the suspend off the method works fine though 🤷 This probably belongs in the Kotlin documentation... |
Beta Was this translation helpful? Give feedback.
-
I get this error with Quarkus 2.6.2 (and 2.7.0CR1):
I'm using the "io.quarkus:quarkus-hibernate-orm-panache-kotlin" artifact which doesn't seem to support reactive-hibernate with the "io.quarkus:quarkus-resteasy-reactive" artifact.
The resource/controller looks like this:
@get
@produces(MediaType.TEXT_PLAIN)
suspend fun list(): List {
return projectRepository.list(null)
}
Has anyone used Panache w/ Kotlin and plain Hibernate or gotten Panache to work with reactive hibernate and Kotlin?
Beta Was this translation helpful? Give feedback.
All reactions