In order to use SQL server with Spring Boot and Data JPA, we need to do the following
- Add SQL server jdbc driver to pom.xml. Change the jre11 value to your JRE version
<dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>mssql-jdbc</artifactId> <version>8.2.2.jre11</version> </dependency>