Skip to content

Commit

Permalink
[Fix][MySQL]: Fix MySqlTypeConverter could not be instantiated (#6781)
Browse files Browse the repository at this point in the history
Fix `MySqlTypeConverter` could not be instantiated because  `ServiceLoader` Should have a NonArgsContractor.
  • Loading branch information
Jetiaime committed May 6, 2024
1 parent b7b92bc commit a5609d6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ public MySqlTypeConverter(MySqlVersion version) {
this.version = version;
}

public MySqlTypeConverter() {
this(MySqlVersion.V_5_7);
}

@Override
public String identifier() {
return DatabaseIdentifier.MYSQL;
Expand Down

0 comments on commit a5609d6

Please sign in to comment.