mirror of
https://gitee.com/dromara/hmily.git
synced 2024-12-05 04:39:09 +08:00
update
This commit is contained in:
parent
53751ea886
commit
e2c27f9e1f
@ -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;
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user