Skip to content

Commit a059e83

Browse files
committed
Added readme
1 parent 69f0102 commit a059e83

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

multiple-mongo-databases/readme.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Connect to Multiple Mongo Databases in SpringBoot
2+
3+
In this tutorial, we will discuss how to connect two different MongoDB databases from your Spring boot application. This article assumes you already have MongoDB integrated into your project, hence this post skips the basics.
4+
5+
To connect to multiple MongoDB databases, we need to use `MongoClientFactoryBean` to create multiple `MongoClient` instances that connects to two different databases.
6+
7+
Read the complete step-by-step guide on [stacktips.com](https://stacktips.com/articles/how-to-connect-to-multiple-mongo-databases-in-springboot)
8+
9+
10+
### Related topics:
11+
12+
* [#spring-boot](https://stacktips.com/topics/spring-boot)
13+
* [#android](https://stacktips.com/topics/android)
14+
* [#java](https://stacktips.com/topics/java)
15+
* [#python](https://stacktips.com/topics/python)
16+
* [#spring](https://stacktips.com/topics/spring)
17+
* [#design-pattern](https://stacktips.com/topics/design-pattern)
18+
* [#git](https://stacktips.com/topics/git)
19+
* [#maven](https://stacktips.com/topics/maven)

0 commit comments

Comments
 (0)