Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
huankai committed Sep 11, 2019
1 parent f0bb41b commit c45c9e4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions hk-mapping/src/main/java/com/hk/entity/ConnectionModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,17 @@ public String getDriverName() {
}
}

public static class MySql8Connection extends ConnectionModel {

public MySql8Connection(String jdbcUrl, String username, String password) {
super(jdbcUrl, username, password);
}

@Override
public String getDriverName() {
return "com.mysql.cj.jdbc.Driver";
}
}


}

0 comments on commit c45c9e4

Please sign in to comment.