Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
ZHHT-IRN-BD-ANALYSIS
Project
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
李凯旋
ZHHT-IRN-BD-ANALYSIS
Commits
edee39b8
Commit
edee39b8
authored
Nov 17, 2022
by
余根龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加默认获取mysql连接
parent
43dd7c70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
MySQLUtils.java
...treaming/src/main/java/com/zhht/irn/utils/MySQLUtils.java
+5
-0
No files found.
realtime/hologram-streaming/src/main/java/com/zhht/irn/utils/MySQLUtils.java
View file @
edee39b8
...
...
@@ -10,6 +10,11 @@ import java.sql.SQLException;
public
class
MySQLUtils
{
public
static
Connection
getConnection
()
throws
Exception
{
String
propertyPath
=
".\\realtime\\hologram-streaming\\src\\main\\resources\\mysql.properties"
;
return
getConnection
(
propertyPath
);
}
public
static
Connection
getConnection
(
String
propertyPath
)
throws
Exception
{
ParameterTool
tool
=
ParameterTool
.
fromPropertiesFile
(
propertyPath
);
...
...
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