Skip to content

jwmaher/tx-coroutine-context-loss-example

Repository files navigation

Minimum reproducible example for spring framework issue Propagate CoroutineContext in reactive transaction.

Test cases:

  • Create example entity - PASSES
  • Create example entity in @Transaction - FAILS
  • Create example entity in TransactionalOperator - FAILS

The failures are due to the coroutine context assertion performed in ExampleService.

How to run:

  1. docker compose up -d (simple postgres database)
  2. ./gradlew test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages