Skip to content

Commit

Permalink
#13309 - Refactor to create a generic UpsertCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
acurionedotcms committed Jan 11, 2018
1 parent cb8c251 commit 99e685a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dotCMS/src/main/java/com/dotmarketing/db/DbType.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,19 @@ public static DbType getDbType(final String dbType) {
switch (dbType) {
case "PostgreSQL":
type = DbType.POSTGRESQL;
break;
case "MySQL":
type = DbType.MYSQL;
break;
case "Microsoft SQL Server":
type = DbType.MSSQL;
break;
case "Oracle":
type = DbType.ORACLE;
break;
case "H2":
type = DbType.H2;
break;
}
return type;
}
Expand Down

0 comments on commit 99e685a

Please sign in to comment.