Computer scienceBackendSpring BootSpring DataMongoDB

Using MongoDB with Spring Data

Database name

Report a typo

Imagine you need to specify sandbox as the database name using the mongodb database property to configure Spring Data access to MongoDB. Enter the line you should add to the application.properties file.

Enter a short text

Create a free account to access the full topic