Skip to content
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

Accept BatchableStatement in CassandraBatchOperations #1499

Closed
soheilrahsaz opened this issue Jul 6, 2024 · 0 comments
Closed

Accept BatchableStatement in CassandraBatchOperations #1499

soheilrahsaz opened this issue Jul 6, 2024 · 0 comments
Assignees
Labels
type: enhancement A general enhancement

Comments

@soheilrahsaz
Copy link

It's useful to add a method .addStatement(@NonNull BatchableStatement<?> statement) in CassandraBatchTemplate class where it would pass the statement into private field BatchStatementBuilder batch.
Because now there's no way to mix "user created statement" with "custom queries with entity save" operations using batch operations.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jul 6, 2024
@mp911de mp911de added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Jul 24, 2024
@mp911de mp911de changed the title Ability to add BatchableStatement into CassandraBatchTemplate Accept BatchableStatement in CassandraBatchOperations Jul 24, 2024
mp911de added a commit that referenced this issue Jul 24, 2024
Refine assertions of unwanted objects.

See #1499
@mp911de mp911de added this to the 4.4 M1 (2024.1.0) milestone Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

4 participants