@@ -337,7 +337,7 @@ With auto-increment columns, this happens automatically, because the ID gets set
|
||||
include::../{spring-data-commons-docs}/repository-projections.adoc[leveloffset=+2]
|
||||
|
||||
[[r2dbc.multiple-databases]]
|
||||
=== Working with multiple Databases
|
||||
== Working with multiple Databases
|
||||
|
||||
When working with multiple, potentially different databases, your application will require a different approach to configuration.
|
||||
The provided `AbstractR2dbcConfiguration` support class assumes a single `ConnectionFactory` from which the `Dialect` gets derived.
|
||||
|
||||
@@ -47,8 +47,8 @@ public @interface EnableR2dbcRepositories {
|
||||
|
||||
/**
|
||||
* Alias for the {@link #basePackages()} attribute. Allows for more concise annotation declarations e.g.:
|
||||
* {@code @EnableReactiveRelationalRepositories("org.my.pkg")} instead of
|
||||
* {@code @EnableReactiveRelationalRepositories(basePackages="org.my.pkg")}.
|
||||
* {@code @EnableR2dbcRepositories("org.my.pkg")} instead of
|
||||
* {@code @EnableR2dbcRepositories(basePackages="org.my.pkg")}.
|
||||
*/
|
||||
String[] value() default {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user