M
M
medovuk2018-04-01 12:09:40
MongoDB
medovuk, 2018-04-01 12:09:40

How to implement connection to different mongoDb databases in Spring?

Question: There are 1000 users on the site. When one of them makes a request, you need to take data from his database. How to implement this in spring boot. How to do the right configuration.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yerlan Ibraev, 2018-04-02
@mad_nazgul

Configuration - nothing.
Can be code.
Those. open your connection for each user.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question