|
@@ -216,7 +216,7 @@ public class Application extends WebMvcConfigurerAdapter implements CommandLineR
|
|
DruidDataSource druidDataSource = new DruidDataSource();
|
|
DruidDataSource druidDataSource = new DruidDataSource();
|
|
druidDataSource.setDriverClassName(driver);
|
|
druidDataSource.setDriverClassName(driver);
|
|
druidDataSource.setUrl(url);
|
|
druidDataSource.setUrl(url);
|
|
-// druidDataSource.setDbType("");
|
|
|
|
|
|
+ druidDataSource.setDbType("postgresql");
|
|
druidDataSource.setUsername(username);
|
|
druidDataSource.setUsername(username);
|
|
druidDataSource.setPassword(password);
|
|
druidDataSource.setPassword(password);
|
|
druidDataSource.setInitialSize(10);
|
|
druidDataSource.setInitialSize(10);
|