Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JeeSpringCloud
Commits
c3a796b0
Commit
c3a796b0
authored
Dec 19, 2018
by
Suncos
Browse files
no commit message
parent
b20c23eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
JeeSpringCloud/jeespring-framework/src/main/java/com/jeespring/common/config/Global.java
View file @
c3a796b0
...
...
@@ -185,6 +185,7 @@ public class Global {
String
url
=
resolver
.
getProperty
(
"spring.datasource.url"
);
//String url = env.getProperty("spring.datasource.url");
String
type
=
getDbType
(
url
);
if
(
type
.
equals
(
"sqlserver"
)){
type
=
"mssql"
;}
map
.
put
(
"spring.datasource.url"
,
type
);
return
type
;
}
catch
(
Exception
e
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment