application.properties
spring.datasource.driverClassName=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://139.23.01.23:3306/card
spring.datasource.username=AAA
spring.datasource.password=BBB@
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
POM.XML
<?xml version="1.0" encoding="UTF-8"?>
4.0.0
spring-boot-starter-parent
org.springframework.boot
2.1.9.RELEASE
org.example
22springbootjpa
1.0-SNAPSHOT
<properties>
<maven.compiler.source>13</maven.compiler.source>
<maven.compiler.target>13</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<art