Skip to content

Support Prepared Statements #1109

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

Closed
jorgerod opened this issue Mar 24, 2021 · 2 comments
Closed

Support Prepared Statements #1109

jorgerod opened this issue Mar 24, 2021 · 2 comments
Labels
status: waiting-for-triage An issue we've not yet triaged

Comments

@jorgerod
Copy link
Contributor

Hi

I have been looking in the spring data couchbase documentation and reviewing the code and I have not found anything regarding Prepared Statement in a clean way.

I have seen that in QueryOptions there is the adhoc field but I don't know how to set the value in a correct way.

How do you recommend to do this case?

Thank you very much

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 24, 2021
@jorgerod jorgerod changed the title Support Prepared statement Support Prepared Statements Mar 24, 2021
@mikereiche
Copy link
Collaborator

mikereiche commented Mar 24, 2021

#963 will support specifying QueryOptions for template and repository. Specifying a QueryOption with adhoc(false) will use Prepared Statements.

mikereiche added a commit that referenced this issue Mar 24, 2021
Add QueryCriteria arrayContaining which maps to n1ql array_containing.

Closes #1073.
Original pull request #1109.
mikereiche added a commit that referenced this issue Mar 24, 2021
Add QueryCriteria arrayContaining which maps to n1ql array_containing.

Closes #1073.
Original pull request #1109.

Co-authored-by: mikereiche <[email protected]>
mikereiche added a commit that referenced this issue Mar 25, 2021
* Add QueryCriteria arrayContaining.

Add QueryCriteria arrayContaining which maps to n1ql array_containing.

Closes #1073.
Original pull request #1109.

* Support enum parameters to repository queries.

Support enums in AbstractCouchbaseConverter.convertForWriteIfNeeded().

Closes #1069.
Original pull request #1110.

Co-authored-by: mikereiche <[email protected]>
mikereiche added a commit that referenced this issue Mar 30, 2021
Add QueryCriteria arrayContaining which maps to n1ql array_containing.

Closes #1073.
Original pull request #1109.

Co-authored-by: mikereiche <[email protected]>
mikereiche added a commit that referenced this issue Mar 30, 2021
Add QueryCriteria arrayContaining which maps to n1ql array_containing.

Closes #1073.
Original pull request: #1109.

Co-authored-by: mikereiche <[email protected]>
mikereiche added a commit that referenced this issue Mar 30, 2021
Add QueryCriteria arrayContaining which maps to n1ql array_containing.

Closes #1073.
Original pull request: #1109.

Co-authored-by: mikereiche <[email protected]>
@mikereiche
Copy link
Collaborator

withOptions(queryOptions) now available in 4.3.0-M2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

No branches or pull requests

3 participants