Skip to content

imechemi/spring-multiple-database-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

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

Watchers

Forks

Packages

No packages published

Languages