I have a project that utilizes Spring Data (MongoDB in this instance) to interact with multiple databases with the same schema. What this means is that each database utiliz
For a general @Repository you can just add (value="someDao") to name the created Bean, if the MongoRepository extends Repository this should work.
@Repository
(value="someDao")
MongoRepository
Repository