adapt gauss 3.0.0 for opengauss-jdbc

This commit is contained in:
justbk
2022-03-18 11:41:30 +08:00
committed by justbk2015
parent dfb28e8665
commit 34f3d50ac1
67 changed files with 1362 additions and 3690 deletions

View File

@ -25,12 +25,6 @@ public enum PGProperty {
PG_CLIENT_LOGIC("enable_ce", null,
"value of 1 is used to turn on the client logic driver feature", false),
/**
* whether to refresh the client encryption cache when invoke PgConnection.isValid method
*/
REFRESH_CLIENT_ENCRYPTION("refreshClientEncryption", null,
"refresh the client encryption cache when invoke PgConnection.isValid method", true),
/**
* Database name to connect to (may be specified directly in the JDBC URL).
*/
@ -388,22 +382,10 @@ public enum PGProperty {
"any", "master", "slave", "secondary", "preferSlave", "preferSecondary"),
/**
* In providing a unified application for multiple CNs, the entrance of the requesting program in the client brings
* together similar CN services, so that all requests in the application are balanced.
*/
AUTO_BALANCE("autoBalance", null, "Distribute connections evenly on CN"),
/**
* Specify the number of nodes to be connected first.
* Specify the number of nodes to be connected first
*/
PRIORITY_SERVERS("priorityServers",null,"Specify the number of nodes to be connected first"),
/**
* Specifies the name of obtain trace id interface class that forms the interface class part of the link trace
* service.
*/
TRACE_INTERFACE_CLASS("traceInterfaceClass", null, "Used to generate the trace id"),
/**
* When using the priority load balancing feature, if use the node_host field of the pgxc_node table
* Load balancing feature will be invalid, So we use EIP uniformly unless data IP must be used.
@ -495,38 +477,6 @@ public enum PGProperty {
"",
"Factory class to instantiate factories for XML processing"),
/**
* Valid only when the client enables full encryption
* To access HuaweiCloud KMS, need to access HuaweiCloud IAM for identity authentication.
* This parameter is used to set the IAM user.
*/
IAM_USER("iamUser", null,
"Username to connect to HuaweiCloud IAM and KMS as."),
/**
* To set the password of IAM user.
*/
IAM_PASSWORD("iamPassword", null,
"Password to use when authenticated by HuaweiCloud IAM and KMS."),
/*
* Valid only when the client enables full encryption
*/
KMS_DOMAIN("kmsDoamin", null,
"Domain of HuaweiCloud KMS."),
KMS_PROJECT_NAME("kmsProjectName", null,
"Place where the HuaweiCloud KMS server locates."),
KMS_PROJECT_ID("kmsProjectId", null,
"ID of HuaweiCloud KMS project."),
/**
* Convert metadata query results to uppercase.
*/
UPPERCASE_ATTRIBUTE_NAME("uppercaseAttributeName", "false",
"Judge whether the uppercase function is on."),
;
private String _name;