|
|
@ -12,8 +12,8 @@ import java.util.List;
|
|
|
|
public class TestOpenGauss {
|
|
|
|
public class TestOpenGauss {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
//读取库
|
|
|
|
//读取库
|
|
|
|
DruidPlugin druid = new DruidPlugin("jdbc:postgresql://10.10.14.62:5432/ccdjzswd_db", "dsideal",
|
|
|
|
DruidPlugin druid = new DruidPlugin("jdbc:opengauss://10.10.14.62:5432/ccdjzswd_db", "dsideal",
|
|
|
|
"DsideaL147258369", "org.postgresql.Driver");
|
|
|
|
"DsideaL147258369", "org.opengauss.Driver");
|
|
|
|
druid.start();
|
|
|
|
druid.start();
|
|
|
|
|
|
|
|
|
|
|
|
ActiveRecordPlugin arp = new ActiveRecordPlugin(druid);
|
|
|
|
ActiveRecordPlugin arp = new ActiveRecordPlugin(druid);
|
|
|
|