This topic describes the latest version updates of Java Database Connectivity (JDBC), including new and enhanced features of a specific version of JDBC.

The following table describes the latest version updates of JDBC. For more information, visit the URL of the related version.

Version Change type Description
v3.2.9 New feature The connection string parameter useProjectTimeZone is added. This parameter is optional. Default value: False. If you configure useProjectTimeZone=true, the return values of ResultSet#getDate, ResultSet#getTime, and ResultSet#getTimestamp are determined based on the time zone where the current project resides.
Enhanced feature The logs that record job failures are optimized.
Fixed issue The Maven AspectJ plug-in cannot be used. This avoids possible performance losses.
v3.2.8 New feature The MaxCompute Query Acceleration (MCQA) feature is supported.
Enhanced feature
  • In MCQA mode, you can add the option instanceTunnelMaxRecord to specify the maximum number of rows of results that can be read. The default value is -1, which indicates an unlimited number. This option is supported only for JDBC 3.2.7 or later.
  • In MCQA mode, you can add the option instanceTunnelMaxSize to specify the maximum size of data that can be read. The unit is bytes. The default value is -1, which indicates an unlimited number. This option is supported only for JDBC 3.2.7 or later.
  • In MCQA mode, you can add the option disableConnectionSetting to disable connection-level settings.
  • If you add the option alwaysFallback and set it to True in MCQA mode, the MCQA mode is rolled back to the offline mode in the preceding scenarios. This option is supported only for JDBC 3.2.3 or later.