<groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> 连接数据库肯定需要DataSource配置,我这里用的阿里系的. @Configuration @ConfigurationProperties(prefix = "hive") public class HiveDruidConfig { private String url; private String user; private ...
SpringBoot整合JDBC模板 2019-12-14 10:37 −目录 Grade实体类 public class Grade { private Integer gradeId; private String gradeName; public Grade(){ } public Grade(Integer gradeId, String ... 慕容子月 0 370 springboot 配置quart多数据源 ...