-
Notifications
You must be signed in to change notification settings - Fork 192
Collection not being reachable when call a custom query inside a @Transactional method (Spring-Data-Couchbase 5.0.0-M6) #1569
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
Comments
I see the issue. Fixing... |
Hi, same problem happens for reactive repositories |
@maleficuss - in what version? There fix was in the ReactiveOperation (which is called by the non-reactive operation). |
@mikereiche sorry for resurrecting old post, when i saw the same case that i have i didnt even check date of the post :) Im using 5.0.4 |
Ok - I think I just fixed this in #1745 |
@mikereiche thank you, I'm gonna try with that :) |
On our repository classes we have the following query methods:
If we call any of them outside a @transactional method it works well, but if it be called inside a @transactional method we got the following error:
Keyspace not found in CB datastore: default:client-operations-account - cause: No bucket named client-operations-account
Seems that it's not pointing to the configured bucket and scope when it is called inside a @transactional method, interestingly it only happen to custom query methods.
Exception:
The text was updated successfully, but these errors were encountered: