You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kotlin-jdsl converts Uni to Coroutine through 'Mutiny#awaitSuspended'.
Look more closely here, the awaitSuspend function implemented by suspendCancellableCoroutine and invoke UniSubscriber#cancel when coroutine canceled.
However, hiberante-reactive MutinySessionFactoryImpl does not provide close process for cancel.
Im not sure this hibernate-reactive session behavior is intended :(
related issue in hibernate-reactive issue
To use current version(1.1.9.Final) hibernate-reactive session, Uni must be converted to coroutine using suspendCoroutine instead of suspendCancellableCoroutine.
I checked the issue link. thanks. Even if mutiny is fixed, it seems to be solved. Since jdsl reactive doesn't enforce hibernate reactive/mutiny version, it seems that the problem can go away if the version goes up. We will not take action right away, and please comment when the version is up.
With the change to jdsl 3.0, the wrapper that creates the session and the wrapper responsible for execution are also no longer provided. For more details, please refer to the https://kotlin-jdsl.gitbook.io/docs/ document and issue #446.
kotlin-jdsl converts Uni to Coroutine through 'Mutiny#awaitSuspended'.
Look more closely here, the
awaitSuspend
function implemented by suspendCancellableCoroutine and invoke UniSubscriber#cancel when coroutine canceled.However, hiberante-reactive
MutinySessionFactoryImpl
does not provide close process for cancel.below code not be executed when Uni(withSession) is canceled and Session not closed forever.
Im not sure this hibernate-reactive session behavior is intended :(
related issue in hibernate-reactive issue
To use current version(1.1.9.Final) hibernate-reactive session, Uni must be converted to coroutine using suspendCoroutine instead of suspendCancellableCoroutine.
The text was updated successfully, but these errors were encountered: