Commit Graph

20 Commits

Author SHA1 Message Date
Mark Paluch
2cefdc8bdd #63 - Polishing.
Convert spaces to tabs. Replace version strings with managed dependencies. Javadoc.

Original pull request: #63.
2019-02-21 13:38:31 +01:00
Sebastien Deleuze
66b84d23f1 #63 - Add DatabaseClient Coroutines extensions.
This commit introduces Coroutines support for `DatabaseClient`
functional API via Kotlin extensions that provide suspendable
functions prefixed by `await` for `Mono` based APIs.

Extensions for `Flux` will be added when Kotlin/kotlinx.coroutines#254
will be fixed.

It also provides `asType<Foo>()` extensions useful for Reactive API
as well.

Original pull request: #63.
2019-02-21 13:38:14 +01:00
Mark Paluch
b53437b59d #60 - Use R2DBC's BOM for dependency management. 2019-02-14 13:37:33 +01:00
Mark Paluch
4423e038c0 #54 - Upgrade to R2DBC 1.0 M7. 2019-02-11 10:06:55 +01:00
Mark Paluch
432b885853 #54 - Build against R2DBC 1.0 snapshots. 2019-02-01 09:43:51 +01:00
Mark Paluch
3a5278ce87 #52 - Switch mssql-jdbc driver dependency to test scope.
We use JDBC drivers only during testing so converting mssql-jdbc to a test-only dependency.
2019-01-21 08:55:10 +01:00
Mark Paluch
3a47509369 #36 - After release cleanups. 2018-12-12 14:12:46 +01:00
Mark Paluch
6e0e9adaef #36 - Prepare next development iteration. 2018-12-12 14:12:46 +01:00
Mark Paluch
ace2397467 #36 - Release version 1.0 M1. 2018-12-12 14:07:14 +01:00
Mark Paluch
fcd9cc75dd #36 - Prepare 1.0 M1. 2018-12-12 14:07:12 +01:00
Jens Schauder
8461545670 #25 - Polishing.
Fix typos. Improve wording. Replace document with row and collection with table.

Original pull request: #28.
2018-12-04 09:53:31 +01:00
Mark Paluch
68f1e0b0b3 #20 - Add Dialect initial support for H2, PostgreSQL, and Microsoft SQL Server.
We now provide dialect support for H2, PostgreSQL, and Microsoft SQL Server databases, configurable through AbstractR2dbcConfiguration. By default, we obtain the Dialect by inspecting ConnectionFactoryMetadata to identify the database and the most likely dialect to use.

BindableOperation encapsulates statements/queries that can accept parameters. Use BindableOperation for statements through DatabaseClient.
Extract SQL creation.

Split integration test into abstract base class that can be implemented with a database-specific test class.

Original pull request: #24.
2018-12-03 16:01:35 +01:00
Mark Paluch
6ba8fd0ca2 #21 - Upgrade to R2DBC 1.0M6. 2018-11-21 10:25:50 +01:00
Mark Paluch
f85a9a084f #18 - Cleanup pom.xml and upgrade dependencies.
Remove dependency management for Surefire and Dependency plugins. Upgrade to latest Postgres and H2 drivers. Upgrade to testcontainers 10.0.1.
2018-11-19 13:48:06 +01:00
Mark Paluch
c2ebfb8cd3 #10 - Adapt to removed Statement.executeReturningGeneratedKeys(). 2018-11-12 15:00:27 +01:00
Mark Paluch
12dc98bcbd #2 - Polishing. 2018-10-17 11:11:16 +02:00
Mark Paluch
ce0a707500 #2 - Upgrade to R2DBC 1.0M5. 2018-10-17 11:11:15 +02:00
Mark Paluch
368835c128 #2 - Remove intermediate repositories for GitHub-hosted Maven artifacts. 2018-10-17 11:10:57 +02:00
Mark Paluch
f490c1f3d9 #2 - Upgrade to Reactor Californium snapshots. 2018-10-17 11:10:27 +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