In Spring Boot, the _____ property is used to set the URL of the database in data source configuration.
- spring.data.db.url
- spring.database.url
- spring.datasource.url
- spring.db.url
In Spring Boot, the property spring.datasource.url is used to set the URL of the database in data source configuration. This property is essential for establishing a connection to the database, and it should be configured with the correct database URL to ensure the application can interact with the database properly.
Loading...
Related Quiz
- Which annotation is primarily used for writing integration tests in Spring Boot applications?
- When dealing with multiple exception resolver beans in Spring Boot, how can you define the order of their execution?
- In a microservices architecture using Spring Cloud, how is service registration managed?
- To perform integration testing in Spring Boot, the _____ annotation is used to enable full application context loading.
- Which file format is generally used in Spring Boot for configuring application properties?