spring-data-r2dbc Questions

4

I'm using the new spring data r2dbc module and i'm able to extract the data using a ReactiveCrudRepository. Now i need to introduce pagination but i cannot manage to do it. I tried with this publi...
Exothermic asked 15/11, 2019 at 10:16

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

4

I found R2DBC when I was searching reactive relational database drivers, but I couldn't see any driver for Oracle DB. Does anyone have any information on whether to provide support?
Chacha asked 12/11, 2019 at 7:10

3

I am trying to use ReactiveQuerydslPredicateExecutor along with R2dbcRepository for my spring-data-r2dbc application with r2dbc-mssql client version 0.8.1.RELEASE I upgraded the spring-boot versio...
Dependable asked 15/5, 2020 at 19:46

1

Solved

I am using spring-boot 2.4.2 with webflux to connect to a postgres database. I observed a behavior while using @Transactional that I don't understand. To showcase the behavior, I created an example...
Furlani asked 20/1, 2021 at 23:32

2

Solved

I am at a loss for how to contruct an efficient query in R2dbc (java) using spring-webflux (reactive). Using the DatabaseClient object provided by R2dbc (or alternatively, a Connection object), it ...
Pliner asked 28/3, 2019 at 0:50

1

Solved

The org.springframework.r2dbc DatabaseClient class has moved to import org.springframework.r2dbc.core.DatabaseClient; from import org.springframework.data.r2dbc.core.DatabaseClient; The Spring da...
Tirza asked 10/11, 2020 at 8:24

0

In addition to a non-reactive JPA repository, I introduced a reactive repository in my Spring Boot app with H2 database. com.app.respository.BusinessRepository extends JpaRepository com.app.resposi...
Valina asked 17/11, 2020 at 11:51

1

Solved

In my spring-boot 2.3 application, I have a simple data method using DatabaseClient: fun getCurrentTime(): Mono<LocalDateTime> = databaseClient .execute("SELECT NOW()") .asType&l...
Capsicum asked 2/11, 2020 at 14:35

4

I'm working on a multi-tenant reactive application using Spring-Webflux + Spring-data-r2dbc with the r2dbc driver to connect to a Postgresql database. The multi-tenant part is schema-based: one sch...
Vanir asked 9/4, 2020 at 13:27

2

Solved

I am trying to use EnumCodec from the latest version of r2dbc-postgresql (0.8.4) unsuccessfully, and I wondered if you could help me. I use also spring-data-r2dbc version 1.1.1. I took the exact ex...
Macroclimate asked 22/7, 2020 at 10:14

2

Solved

I have a User entity and a Role entity. The fields are not important other than the fact that the User entity has a role_id field that corresponds to the id of its respective role. Since Spring Dat...

1

I am new to Reactive programming. I have to develop a simple spring boot application to return a json response which contains the company details with all its sub companies and employees Created a ...
Nonunionism asked 14/4, 2020 at 15:39

0

I have been trying to get Quartz to work while using R2DBC in spring boot. So far, I have not figured out how to do this. This is because when a JDBC DataSource is created, it tries to initialize m...

1

Solved

I tried to create a user/roles relation in RDBMS and want to use R2dbc(Spring Data R2dbc) to shake hands with the backend database. Assume there are three tables, users, roles, and user_roles. @T...

1

Solved

One interface is 'org.springframework.data.domain.Persistable', it's a java interface with a method ID getId() in 3rd-party lib. Another interface is a Kotlin interface interface IdEntry { val id:...
Diphthongize asked 19/2, 2020 at 8:58

1

Solved

In java reactor, r2dbc. I have two tables A, B. I also have repositories for them defined. How can i get data made up of A join B? I only come up with the following approach: call databaseClient.s...
Ema asked 10/2, 2020 at 7:11

2

Solved

I was trying to taste R2dbc and using Embedded H2 like: public ConnectionFactory connectionFactory() { //ConnectionFactory factory = ConnectionFactories.get("r2dbc:h2:mem:///test?options=DB_CLOSE...

0

I am trying to make use of Kotlin coroutines along with spring-data-r2dbc(databaseClient) in our next Spring Boot service. I'm already familiar with both concepts but as we dug deeper into the deta...

3

Solved

I have the following error coming up: Exception: Error creating bean with name 'inventoryService' defined in URL [jar:file:/app.jar!/BOOT-INF/classes!/com/epi/services/inventory/items/InventorySer...
Metamorphic asked 18/6, 2019 at 18:49

1

I've been closely following r2dbc updates by pivotal and I wish to build my application using this approach. I have tried few small applications with r2dbc postgres driver as below : <dependen...
Metzler asked 12/11, 2018 at 5:56

© 2022 - 2024 — McMap. All rights reserved.