#541 - Reflect used R2DBC in readme.
H2 is currently used and not Postgresql
This commit is contained in:
@@ -4,7 +4,7 @@ This projects shows some sample usage of the work-in-progress R2DBC support for
|
||||
|
||||
=== Interesting bits to look at
|
||||
|
||||
- `InfrastructureConfiguration` - sets up a R2DBC `ConnectionFactory` based on the R2DBC Postgres driver (https://github.com/r2dbc/r2dbc-postgresql[r2dbc-postgresql]), a `DatabaseClient` and a `R2dbcRepositoryFactory` to eventually create a `CustomerRepository`.
|
||||
- `InfrastructureConfiguration` - sets up a R2DBC `ConnectionFactory` based on the R2DBC H2 driver (https://github.com/r2dbc/r2dbc-h2[r2dbc-h2]), a `DatabaseClient` and a `R2dbcRepositoryFactory` to eventually create a `CustomerRepository`.
|
||||
- `CustomerRepository` - a standard Spring Data reactive CRUD repository exposing query methods using manually defined queries
|
||||
- `CustomerRepositoryIntegrationTests` - to initialize the database with some setup SQL and the inserting and reading `Customer` instances.
|
||||
- `TransactionalService` - uses declarative transaction to apply a transactional boundary to repository operations.
|
||||
|
||||
Reference in New Issue
Block a user