JDBC Version Description
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 bugs:
- An error is reported when reWriteBatchedInserts is used to insert data in batches.
- "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()
- Insertion or Modification
- Fixed bug:
The field length obtained by the getColumnDisplaySize() method is incorrect.
Version 8.1.3.100
Version 8.1.3
Upgrade to the open source version 42.2.23.
Version 8.1.1.300
- New features
- The nvarchar2 type is supported.
- The nvarchar2 object can be obtained through resultSet.getObject.
- Fixed vulnerabilities
Last Article: Development Specifications
Next Article: Downloading the JDBC or ODBC Driver
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.