Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 567 Bytes

File metadata and controls

20 lines (13 loc) · 567 Bytes

Spring Multiple Database Example using Mongo

This is an example project to show multiple database host configuration or it could different database in same host.

Uses:

  • Spring Boot Starter 2.2.1.RELEASE
  • Spring Data MongoDB 2.2.1.RELEASE

Requirements:

  • Java 11
  • Maven
  • MongoDB

To run this application, you will need to create credentials present in src/resources/application.yml

This project will answer following FAQ

  • How to replace deprecated SimpleMongoDbFactory method?
  • How can I use char[] array password using MongoCredential