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
JeeSpringCloudV3.0
Commits
d3868475
Commit
d3868475
authored
Dec 19, 2018
by
Suncos
Browse files
no commit message
parent
67e090d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
JeeSpringCloud/src/main/java/com/jeespring/common/config/Global.java
View file @
d3868475
...
...
@@ -178,6 +178,7 @@ public class Global {
try
{
String
url
=
resolver
.
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