Connecting to Other Databases
Learn about the changes required to change the data source.
We'll cover the following...
An in-memory H2 database is easy to set up and use. Now it’s time to learn how to switch to another database. In real-life applications, we might want to connect to Oracle, MySQL, or SQL server databases. Using Spring Boot, switching databases is very straightforward. We just need to add some dependencies and change some property values.
This lesson assumes that the database is installed and the schema is properly populated.