This commit is contained in:
Administrator 2018-07-11 19:48:48 +08:00
parent 53751ea886
commit e2c27f9e1f
2 changed files with 4 additions and 4 deletions

View File

@ -26,9 +26,9 @@ import com.hmily.tcc.common.constant.CommonConstant;
public class DbTypeUtils {
/**
* 判断是什么类型的数据库.
* @param driverClassName 驱动名称
* @return mysql sqlserver oracle .
* check db type
* @param driverClassName driverClassName
* @return mysql sqlserver oracle postgresql.
*/
public static String buildByDriverClassName(final String driverClassName) {
String dbType = null;

View File

@ -119,7 +119,7 @@ public class SqlHelper {
.append(");");
break;
default:
throw new RuntimeException("dbType类型不支持,目前仅支持mysql oracle sqlserver postgresql.");
throw new RuntimeException("dbType not support ! The current support mysql oracle sqlserver postgresql.");
}
return createTableSql.toString();
}