In the previous chapter, we saw how to set up a production database using the
db.properties file. Here, we will see how to set up a database using Spring.
To configure a database, we have to define the following properties in the
jdbcDriver: This property defines a driver name for a particular database
jdbcURL: This property mentions the JDBC URL of the database
username: This property defines the username to connect to the database
password: This property defines the password to connect to the database
Perform the following steps to configure a database: