"git@ustchcs.com:gujinli1118/jeeSpringCloud.git" did not exist on "5d34d2525cb7ed8c9ca3ab0dc87946ec1e7a48c0"
Commit c3a796b0 authored by Suncos's avatar Suncos
Browse files

no commit message

parent b20c23eb
...@@ -185,6 +185,7 @@ public class Global { ...@@ -185,6 +185,7 @@ public class Global {
String url = resolver.getProperty("spring.datasource.url"); String url = resolver.getProperty("spring.datasource.url");
//String url = env.getProperty("spring.datasource.url"); //String url = env.getProperty("spring.datasource.url");
String type = getDbType(url); String type = getDbType(url);
if(type.equals("sqlserver")){type="mssql";}
map.put("spring.datasource.url", type); map.put("spring.datasource.url", type);
return type; return type;
} catch (Exception e) { } catch (Exception e) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment