立即学习:https://edu.csdn.net/course/play/25822/345778?utm_source=blogtoedu
<postgresql.version>42.2.9</postgresql.version> <druid.version>1.1.21</druid.version>
<properties> <java.version>1.8</java.version> <postgresql.version>42.2.9</postgresql.version> <druid.version>1.1.21</druid.version> </properties> <!-- 数据库连接驱动 --> <!-- https://mvnrepository.com/artifact/org.postgresql/postgresql --> <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> <version>${postgresql.version}</version> </dependency> <!-- 数据库连接池 --> <!-- https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter --> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>${druid.version}</version> </dependency>