We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce9a359 commit 6c54767Copy full SHA for 6c54767
spring-batch-infrastructure/src/main/java/org/springframework/batch/support/DatabaseType.java
@@ -78,6 +78,8 @@ public String getProductName() {
78
* @throws IllegalArgumentException if none is found.
79
*/
80
public static DatabaseType fromProductName(String productName){
81
+ if(productName.equals("MariaDB"))
82
+ productName = "MySQL";
83
if(!nameMap.containsKey(productName)){
84
throw new IllegalArgumentException("DatabaseType not found for product name: [" +
85
productName + "]");
0 commit comments