-
Notifications
You must be signed in to change notification settings - Fork 617
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
issue/2953 #2962
base: main
Are you sure you want to change the base?
issue/2953 #2962
Conversation
Thanks a lot. I hope to have a look later this week (🤞 ) |
src/main/java/org/springframework/data/neo4j/core/Neo4jTemplate.java
Outdated
Show resolved
Hide resolved
@@ -744,21 +748,24 @@ public void deleteAll(Class<?> domainType) { | |||
}); | |||
} | |||
|
|||
private <T> ExecutableQuery<T> createExecutableQuery(Class<T> domainType, Statement statement) { | |||
return createExecutableQuery(domainType, null, statement, Collections.emptyMap()); | |||
private <T> ExecutableQuery<T> createExecutableQuery(Class<T> domainType, Statement statement, boolean readOnly) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we place name it like readOnlyTransaction
or similar? Of course it makes sense in the current context of the transaction PR, but I know that in a few weeks, I need to think a second more about what this parameter stands for.
Thanks again for this PR. I think it makes sense in this way, even though I am not completely happy with the syntax of Something that is missing in the PR is the support for the reactive template manager (you're missing all the fun ;) ) |
Hi @meistermeier , Will add the reactive part. Thanks for reviewing 👍 |
…e.java Co-authored-by: Gerrit Meier <[email protected]>
fixes #2953