获取驱动名称
This commit is contained in:
parent
6b7e9e7ecb
commit
a13ea384e3
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user