Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Configure multiple database using Spring Example

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages