-
Notifications
You must be signed in to change notification settings - Fork 57
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
How to work with transactions? Found some strange behavior. #52
Comments
After some time of digging I found the following lines of code:
I added
Should I stick with it or there is another way to work with transactions? Is it possible to add some details to README? |
My understanding is that the issue is caused by 2 connections being used and changes in one are not visible in the other. |
Fixed in 6.2.1 |
I'm using spring-boot-starter-data-jdbc and infobip-spring-data-jdbc-querydsl-boot-starter(5.4.2) together.
In my tests with
org.springframework.transaction.annotation.Transactional
annotation I have the following code:Expected result: variable
reports
is not emptyActual result: variable
reports
is emptyIf I remove
@Transactional
(or use default findAll method from QuerydslJdbcRepository) it starts to return results.Am I doing something wrong?
The text was updated successfully, but these errors were encountered: