Announcement Announcement Module
Collapse
No announcement yet.
Check connection to MongoDB Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Check connection to MongoDB

    Hi,

    please how to check the connexion to mongodb with mongo template

    these inqtructions can't help me to solve my problem

    Code:
    	
    	 @Autowired
    	 MongoTemplate mongotemplate;
      
    
              DB db = mongotemplate.getDb();
    Thanks
Working...
X