r2dbc Questions
5
Solved
I've created a Java Spring Boot service using the WebFlux reactive module, H2 in-memory database, and R2DBC reactive driver.
When I run the service, it fails with an "Unable to create a Connec...
Civic asked 13/5, 2021 at 23:29
4
Solved
I need to insert multiple rows into one table in one batch.
In DatabaseClient i found insert() statement and using(Publisher objectToInsert) method which has multiple objects as argument. But would...
6
Solved
I'm not able to open more than 10 connections with spring-webflux and r2dbc (with r2dbc-pool driver 0.8.0.M8). My config looks like:
@Configuration
public class PostgresConfig extends AbstractR2db...
Lactation asked 17/9, 2019 at 9:26
1
Solved
Libraries:
r2dbc-postgresql-0.8.6.RELEASE
r2dbc-pool-0.8.5.RELEASE
r2dbc-spi-0.8.3.RELEASE
postgresql-42.2.18
List item
Problem:
I tried to bulk insert using R2DBC (PostgreSQL) with code as below...
Candlelight asked 27/2, 2021 at 7:22
1
This thread is a continuation of the Github issue at: https://github.com/spring-projects/spring-data-r2dbc/issues/194
Context:
Hi,
I just tried a very simple Exemple, based on two reactive reposito...
Schulman asked 25/9, 2019 at 9:7
6
Solved
In Spring Data R2DBC I can log SQL queries by using
logging.level.org.springframework.data.r2dbc=DEBUG
in the application.properties.
However, this doesn't log the actual values that are bound...
Toxicosis asked 1/4, 2020 at 14:13
0
Background:
I have an application-wide universal exception handler to translate exceptions coming from R2dbcRepository, such as (an excerpt just to show the intended purpose):
@Component
public cla...
Largish asked 24/7, 2023 at 14:7
2
Solved
I have to re-implement a few back-end services and one of the main requirement is to make the whole flow reactive. Previously the services used hibernate with PostgreSQL so the mentioned connection...
Barra asked 30/1, 2020 at 12:25
4
Solved
So starting a new project and i want to use r2dbc and webflux, been looking into what support there is to handle database migration. The last answer i could find here was from july 2019 that liquib...
Vertebral asked 24/6, 2020 at 12:38
2
I am using R2DBC-H2 driver, and my UR.L is spring.r2dbc.url=r2dbc:h2:mem:///customer
Using this configuration, SpringBoot starts fine, however, I can not access the h2-console.
Does anybody know wh...
Cermet asked 14/7, 2020 at 21:16
2
I am trying to replicate some functionality that I was using in Spring Data JPA in the new reactive Data r2dbc. I am aware that r2dbc is not a full-fledged ORM but wanted to understand as what coul...
Paregmenon asked 17/6, 2020 at 4:54
2
Solved
I'm trying to leverage H2 for testing and have the following configuration in src/test/resources/application.yaml:
spring:
r2dbc:
url: r2dbc:h2:file://testdb
I have an empty test annotated wit...
Selden asked 9/6, 2020 at 7:41
4
I am using r2dbc, r2dbc-h2 and experimental spring-boot-starter-data-r2dbc
implementation 'org.springframework.boot.experimental:spring-boot-starter-data-r2dbc:0.1.0.M1'
implementation 'org.spring...
Corazoncorban asked 24/12, 2019 at 12:32
1
Solved
I am exploring possible ideas when it comes to designing the one-to-one and one-to-many relationships while using Spring Data R2DBC.
As Spring Data R2DBC still do not support relationships natively...
Roo asked 26/9, 2022 at 17:40
0
We use spring-data-r2dbc:1.3.2 and dev.miku:r2dbc-mysql:0.8.2.RELEASE and experience a strange issue in production.
We don't understand what is the root cause and whether it is a recoverable or can...
Vega asked 24/4, 2022 at 20:27
3
Update 15/08/2020: Looks like Enum support was added on Jun 16. R2DBC commit.
Does H2DBC support PostgreSQL enums? I checked they git page but it doesn't mention anything about it. If it does, how ...
Deledda asked 5/2, 2020 at 22:12
2
I'm trying to do the following;
but using org.testcontainers.containers.MySQLR2DBCDatabaseContainer
can anyone show me how this can be achieved, as MySQLR2DBCDatabaseContainer doesn't seem to hav...
Erotica asked 20/8, 2020 at 10:0
2
I am using spring r2dbc and ReactiveCrudRepository, I have a field which I need to ignore for when update query is generated
@Data
@Table(PRODUCT_TABLE)
public class ProductEntity {
@Id
@Generat...
Blunger asked 16/5, 2020 at 15:23
3
Solved
So I had this idea that's way over my head really since I've only been programming for a short while but I wanted to build a reactive Spring webflux app that exposes json endpoints to a react front...
Stagger asked 15/9, 2019 at 8:5
2
Solved
On Using Spring JDBC which works very well and has some improvements over JPA when using Batch processing.
I would love to learn why to use Spring Data JDBC when you already have Spring JDBC.
I wou...
Mottle asked 21/8, 2021 at 14:40
2
Solved
Since R2DBC is reactive and non blocking I would like to understand the benefit of using R2DBC in a simple RESTful CRUD service
Assume a spring boot application is exposing a RESTful service using ...
Shout asked 9/7, 2021 at 7:43
1
Solved
In the below two examples, the behavior of processing a flux stream seems to be different.
Example 1 :
public static void main(String[] args) throws InterruptedException {
log.debug(" Before ...
Digitigrade asked 9/7, 2021 at 16:46
1
Solved
In my Vaadin and Spring Boot application, I have updated from jOOQ 3.14.12 to 3.15.0. After this update my application is not starting up again. This is the error I get:
***************************...
Timberlake asked 8/7, 2021 at 7:27
1
I'm trying to configure R2DBC connection to PostgreSQL database with connection pool. I have followed this documentation: https://github.com/r2dbc/r2dbc-pool/blob/main/README.md.
ConnectionFactory ...
Unconventionality asked 27/3, 2021 at 9:0
2
Solved
How can I add my custom converter to mu spring boot application?
My entity field
@CreatedDate
@Column(value = "create_time")
private Instant createTime;
My converters are
@Bean
public Co...
Dragster asked 14/10, 2020 at 10:25
1 Next >
© 2022 - 2024 — McMap. All rights reserved.