このページは、お客様の言語ではご利用いただけません。Huawei Cloudは、より多くの言語バージョンを追加するために懸命に取り組んでいます。ご協力ありがとうございました。

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

JDBC Version Description

Updated on 2025-03-03 GMT+08:00

Version 8.3.1.200

New features
  • JDBC load balancing can automatically detect the live CN list.
    • The cnListRefreshSwitch parameter is added to enable automatic detection of the live CN list. The default value is off.
    • The cnListRefreshDelay parameter is added to specify the delay for enabling automatic detection of the live CN list. The default value is 1,800,000 milliseconds. This parameter only works when cnListRefreshSwitch is set to on.
    • The cnListRefreshPeriod parameter is added to specify the period for automatically detecting the live CN list. The default value is 1,800,000 milliseconds. This parameter only works when cnListRefreshSwitch is set to on.
  • JDBC supports certificate revocation.

    The sslCrl parameter is added to specify the path of the revoked certificate. By default, this parameter is left blank.

  • JDBC supports database reconnection.
    • The autoReconnect parameter is added to specify whether to enable automatic database reconnection. The default value is false.
    • The reConnectCount parameter is added to specify the number of automatic reconnection times. The default value is 10. This parameter takes effect when autoReconnect is set to true. If the number of connection attempts exceeds this parameter's value, reconnection will fail.

Version 8.3.0.202

  • New features:

    The tcpKeepAlive configuration is added. When tcpKeepAlive is set to true, the following parameters take effect:

    Default value:

    1. TCP_KEEPIDLE=30: The detection starts after the connection is idle for 30 seconds.
    2. TCP_KEEPCOUNT=9: A total of nine detections are performed.
    3. TCP_KEEPINTERVAL=30: The detection interval is 30s.
      NOTE:

      The JDK varies according to the operating system. Some platforms, such as Windows, Red Hat, and SUSE, may not support this parameter.

Version 8.3.0.201

  • Fixed bug:

    Multiple functions cannot be automatically split when they are executed at a time.

Version 8.3.0

  • Fixed bug:

    loadBalanceHosts=false does not take effect.

Version 8.2.1.300

  • Fixed bug:

    The NVARCHAR array type is incompatible.

Version 8.2.1.1

The defaultQueryMetaData parameter is added to specify whether to query SQL metadata by default. The default value is false.

JDBC supports the raw type, which requires the querying of metadata. If you want to use JDBC to perform operations on the raw type, set defaultQueryMetaData to true.

If this parameter is enabled, prepareStatement is incompatible with the syntax create table as. You can replace it by Statement.

Version 8.2.1

  • Fixed bug:
    1. An error is reported when reWriteBatchedInserts is used to insert data in batches.
    2. "Invalid input syntax for type oid: 03032VLM" is reported when data is imported from Spark to GaussDB(DWS).

Version 8.2.0

  • New feature: Compatibility with the Oracle Raw data type. The usage is as follows:
    • Insertion or Modification
      1
      2
      3
      4
      byte[] bytes = oracleResultSet.getBytes(2)
      prepareStatement.setBytes(bytes)
      // Or
      prepareStatement.setObject(bytes)
      
    • Query
      1
      2
      resultSet.getBytes()
      resultSet.getObject()
      
  • Fixed bug:

    The field length obtained by the getColumnDisplaySize() method is incorrect.

Version 8.1.3.100

  • New features

    The nvarchar2 object can be obtained through resultSet.getNString.

  • Fixed vulnerabilities:

    The dependency package fastjson is upgraded to 1.2.83.

Version 8.1.3

Upgrade to the open source version 42.2.23.

  • New features
    • The nvarchar2 type is supported.
    • The nvarchar2 object can be obtained through resultSet.getObject.
NOTE:

For JDBC 8.1.3 and later versions, JDK 1.8 is required.

Version 8.1.1.300

  • New features
    • The nvarchar2 type is supported.
    • The nvarchar2 object can be obtained through resultSet.getObject.
  • Fixed vulnerabilities

Version 8.1.1.100

  • New features

    By default, the driver reports the OS user. To disable this function, you can set connectionExtraInfo=false.

    1
    jdbc:postgresql://host:port/database?connectionExtraInfo=false
    
  • Fixed vulnerabilities

    Jackson was upgraded.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback