获取驱动名称

This commit is contained in:
myh 2023-10-07 18:52:15 +08:00
parent 6b7e9e7ecb
commit a13ea384e3

View File

@ -8,6 +8,7 @@ import org.springframework.stereotype.Component;
@Component @Component
@ConfigurationProperties(prefix = "spring.datasource") @ConfigurationProperties(prefix = "spring.datasource")
public class DataBaseProperties { public class DataBaseProperties {
private String driverClassName;
private String url; private String url;
private String username; private String username;
private String password; private String password;