阅读背景:

如何在spring data mongoDB中指定数据库名

来源:互联网 

I am using Mongo repositories to perform CRUD operations as in the code below. Although this code works, but the documents and collections are created in a different DB than the one that I want. How can I explicitly specify a DB name to which documents will be stored.I am using Mongo repositories to perform CRUD o




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: