Commit Graph

6 Commits

Author SHA1 Message Date
Mark Paluch
28dee1274f #2 - Add updates to SimpleR2dbcRepository. 2018-10-17 11:10:45 +02:00
Mark Paluch
590df39bc8 #2 - Add tests for SimpleR2dbcRepository. 2018-10-17 11:10:44 +02:00
Mark Paluch
ee5e3a72e8 #2 - Refactor R2dbc test support code into R2dbcIntegrationTestSupport. 2018-10-17 11:10:42 +02:00
Mark Paluch
4d5d310741 #2 - Add DatabaseClient.select().
We now allow typesafe and generic selection of rows.
2018-10-17 11:10:35 +02:00
Mark Paluch
b8375f5a96 #2 - Refactor to functional usage of resources.
DatabaseClient now creates functions. The actual invocation/execution takes place from DefaultFetchFunctions (FetchSpec) to keep stateful resources in the scope of the execution. execute()/executeMany() use Flux.usingWhen/Mono.usingWhen to release connections after their usage.
2018-10-17 11:10:30 +02:00
Mark Paluch
c59e9a58eb #2 - Add DatabaseClient.
Provide DatabaseClient and add ExternalDatabase class to provide database connection details/encapsulate a dockerized testcontainer.
2018-10-17 11:10:20 +02:00