几种类型数据库以及驱动类
----------------mysql----------------------------------------------------
public static final String MySQL= "MySQL";
public static final String MySQL_DRIVER= "com.mysql.cj.jdbc.Driver";
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
----------------oracle-----------------------------------------------
public static final String Oracle= "Oracle";
public static final String Oracle_DRIVER= "oracle.jdbc.driver.OracleDriver";
<dependency>
<groupId>oracle</groupId>
<artifactId>ojdbc6</artifactId>
</dependency>
----------------odps----------------------------------------------
public static final String ODPS= "ODPS";
public static final String ODPS_DRIVER= "com.aliyun.odps.jdbc.OdpsDriver";
<dependency>
<groupId>com.aliyun.odps</groupId>
<artifactId>odps-jdbc</artifactId>
</dependency>
----------------gauss200----------------------------------------------
public static final String Gauss200= "Gauss200";
public static final String Gauss200_DRIVER= "com.huawei.gauss200.jdbc.Driver";
<dependency>
<groupId>com.huaweicloud.gauss200</groupId>
<artifactId>gsjdbc200</artifactId>
</dependency>
----------------ADBForPG----------------------------------------------
public static final String ADBForPG= "ADBForPG";
public static final String ADBForPG_DRIVER= "org.postgresql.Driver";
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>
----------------Greenplum----------------------------------------------
public static final String Greenplum= "Greenplum";
public static final String Greenplum_DRIVER= "com.pivotal.jdbc.GreenplumDriver";
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>