Updated on 2025-09-04 GMT+08:00

Preparations

  • JDK version: 1.7 or later.
  • Database environment: GaussDB 503.1.0 or later.
  • JDBC driver environment:

    Refer to "Application Development Guide > Development Based on JDBC > Development Procedure > Obtaining the JAR Package of the Driver and Configuring the JDK Environment" in Developer Guide.

  • Data: Create a test table and insert test data, as follows:

    gaussdb=# CREATE TABLE TEST_BATCH(
    V1 TEXT,
    V2 TEXT);
    CREATE TABLE