-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hibernate Reactive Panache guide missing documentation on @TestReactiveTransaction
#20521
Comments
/cc @DavideD, @FroMage, @Sanne, @gavinking, @loicmathieu |
There is a transaction guide and as you said, there is a section in the testing guide about |
@DavideD could you have a look at this one? It looks like something we could quickly fix and be done with. |
Yes, I will have a look at it
…Sent from my iPhone
On 5 Jan 2022, at 18:53, Guillaume Smet ***@***.***> wrote:
@DavideD could you have a look at this one? It looks like something we could quickly fix and be done with.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.
|
Can somebody assign this issue to me, please? |
Done ;) |
Thanks |
Hm, it seems that when I use |
Ah, I've just found |
There are also some examples in the superheros sample app - https://github.com/quarkusio/quarkus-super-heroes/blob/main/rest-heroes/src/test/java/io/quarkus/sample/superheroes/hero/repository/HeroRepositoryTests.java |
You can use Vert.x unit: https://vertx.io/docs/vertx-unit/java/#_introduction |
It integrates with JUnit: https://vertx.io/docs/vertx-unit/java/#_junit_integration |
Isnt |
@mkouba to use If you want to go that route (or use the |
Quarkus also has |
I know but it's a bit confusing as you can do |
This looks like something we should document. I did run into the issue too myself. |
Describe the bug
The Quarkus Hibernate Reactive Panache guide does not have any information on the existence of the
@TestReactiveTransaction
annotation nor how to use it.Maybe it doesn't belong in that guide because it isn't specific to Panache Reactive and its more generic to reactive transaction management. That being said, it still isn't discussed anywhere in the guides. I think, too, more is needed than a sentence or two just saying that its there. I think there need to be some examples that show how to use it.
Furthermore, the Tests and transactions section of the getting started testing guide is pretty weak. I think both need to be expanded on somewhere.
Maybe there needs to be a guide or something that talks about transaction management in general?
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: