question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

About implementation of r2dbc `Batch`

See original GitHub issue

At the moment, jasync may not support executing a single query containing multiple statements. (to exchange multi-results)

@mp911de @oshai Could just support Batch that is a “fake” batch logic, execute multi-statements one-by-one? Like this: https://github.com/jasync-sql/jasync-sql/pull/109

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mirromutthcommented, Mar 26, 2019

The same approach should work with Statement.add() and multiple bindings.

@oshai I will submit a new PR to support Statement.add() later.

0reactions
oshaicommented, Mar 26, 2019

I added an example here: https://github.com/r2dbc/r2dbc-client/pull/46

Closing this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring Boot R2DBC INSERT batching (Reactive SQL)
Batching is the act of gathering multiple statements together and executing them over a single database connection. Batching has performance ...
Read more >
Reactive Relational Database Connectivity - R2DBC
Batch. Implement the io.r2dbc.spi.Connection interface, except for the following optional methods:.
Read more >
A Quick Look at R2DBC with Spring Data - Baeldung
Another feature of R2DBC is to create batches. A batch is useful when executing multiple SQL statements as they'll perform better than ...
Read more >
How to execute multiple inserts in batch in r2dbc?
In DatabaseClient i found insert() statement and using(Publisher objectToInsert) method which has multiple objects as argument.
Read more >
Batch Operations with MariaDB Connector/R2DBC
With batch operations, you can group several statements together, which can improve performance. Executes batch operations.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found