org.sagacity.sqltoy.dialect.impl.VastbaseDialect Maven / Gradle / Ivy
package org.sagacity.sqltoy.dialect.impl;
import java.sql.Connection;
import java.util.List;
import org.sagacity.sqltoy.model.TableMeta;
/**
* @project sqltoy-orm
* @description 提供适配Mogdb数据库方言的实现((基于opengauss5.x))
* @author ming
* @version v1.0, Date:2024-10-25
* @modify {Date:2024-10-25,初始创建}
*/
public class VastbaseDialect extends OpenGaussDialect {
@Override
public List getTables(String catalog, String schema, String tableName, Connection conn, Integer dbType,
String dialect) throws Exception {
// TODO Auto-generated method stub
return super.getTables(catalog == null ? null : catalog.toLowerCase(),
schema == null ? null : schema.toLowerCase(), tableName == null ? null : tableName.toLowerCase(), conn,
dbType, dialect);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy