Spring Boot配置MongoDB链接池

  由于Spring Boot中默认没有提供配置MongoDB链接池的属性,因此须要本身向Spring容器中注入mongoDbFactoryjava 1. 添加依赖 <parent>    <groupId>org.springframework.boot</groupId>    <artifactId>spring-boot-starter-parent</artifactId>    
相关文章
相关标签/搜索