|
1 |
| -# Reactive Relational Database Connectivity PostgreSQL Implementation |
| 1 | +# Reactive Relational Database Connectivity PostgreSQL Implementation [](https://travis-ci.org/r2dbc/r2dbc-postgresql) [](https://maven-badges.herokuapp.com/maven-central/io.r2dbc/r2dbc-postgresql) |
2 | 2 |
|
3 | 3 | This project contains the [PostgreSQL][p] implementation of the [R2DBC SPI][r]. This implementation is not intended to be used directly, but rather to be used as the backing implementation for a humane client library to delegate to.
|
4 | 4 |
|
@@ -94,7 +94,7 @@ Mono<Connection> connectionMono = Mono.from(connectionFactory.create());
|
94 | 94 | Map<String, String> options = new HashMap<>();
|
95 | 95 | options.put("lock_timeout", "10s");
|
96 | 96 |
|
97 |
| -ConnectionFactory connectionFactory = new PostgresqlConnectionFactory(PostgresqlConnectionConfiguration.builder() |
| 97 | +PostgresqlConnectionFactory connectionFactory = new PostgresqlConnectionFactory(PostgresqlConnectionConfiguration.builder() |
98 | 98 | .host("...")
|
99 | 99 | .port(5432) // optional, defaults to 5432
|
100 | 100 | .username("...")
|
@@ -127,20 +127,14 @@ Binding also allowed positional index (zero-based) references. The parameter in
|
127 | 127 |
|
128 | 128 | ### Maven configuration
|
129 | 129 |
|
130 |
| -Add the Maven dependency and use our Maven milestone repository: |
| 130 | +Artifacts can be found on [Maven Central](https://search.maven.org/search?q=r2dbc-postgresql). |
131 | 131 |
|
132 | 132 | ```xml
|
133 | 133 | <dependency>
|
134 | 134 | <groupId>io.r2dbc</groupId>
|
135 | 135 | <artifactId>r2dbc-postgresql</artifactId>
|
136 |
| - <version>0.8.0.RC1</version> |
| 136 | + <version>${version}</version> |
137 | 137 | </dependency>
|
138 |
| - |
139 |
| -<repository> |
140 |
| - <id>spring-milestones</id> |
141 |
| - <name>Spring Milestones</name> |
142 |
| - <url>https://repo.spring.io/milestone</url> |
143 |
| -</repository> |
144 | 138 | ```
|
145 | 139 |
|
146 | 140 | If you'd rather like the latest snapshots of the upcoming major version, use our Maven snapshot repository and declare the appropriate dependency version.
|
|
0 commit comments