Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydl-generator
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
余保谷
ydl-generator
Commits
4d103463
Commit
4d103463
authored
Jun 12, 2019
by
flying-cattle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
链接异常时报错提醒
parent
053b02e7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
EntityInfoUtil.java
src/main/java/com/github/flying/cattle/mdg/util/EntityInfoUtil.java
+3
-0
No files found.
src/main/java/com/github/flying/cattle/mdg/util/EntityInfoUtil.java
View file @
4d103463
...
...
@@ -69,6 +69,9 @@ public class EntityInfoUtil {
rs
.
close
();
pstemt
.
close
();
con
.
close
();
if
(
null
==
columns
||
columns
.
size
()==
0
)
{
throw
new
RuntimeException
(
"未能读取到表或表中的字段。请检查链接url,数据库账户,数据库密码,查询的数据名、是否正确。"
);
}
return
bi
;
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
...
...
Write
Preview
Markdown
is supported
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