Releases: dolphindb/jdbc
3.00.4.0
3.00.2.2
- Fix SQL injection issue.
3.00.3.0
Improvements
- moved quotation marks from field names in the result of getSchemas.
- Swapped the positions of the TABLE_SCHEM and TABLE_NAME columns in the result returned by getTables.
- Added support for passing null as the schemaPattern parameter in getTables to match all schemas.
3.00.2.1
Improvements
- Added support for user login authentication to enhance security.
3.00.2.0
New Features
-
Added support for method
setQueryTimeout(int seconds)inJDBCStatementandJDBCPreparedStatementfor setting SQL query timeout. -
Added reconnect parameter to
JDBCConnectionfor automatic reconnection.
3.00.1.1
Improvements
- Job parallelism can be set on the server side using
setMaxJobParallelism.
3.00.1.0
New Features
-
For versions before 3.00.1.0,
ResultSetmay return a scalar/vector/matrix. Since version 3.00.1.0, these forms are converted and returned as tables.Note: This change may affect compatibility with existing code that expects scalar/vector/matri results.
-
The
getResultmethod ofJDBCResultSethas been marked as deprecated. -
PreparedStatementaligns the handling logic of DECIMAL 32/64 data with DECIMAL128, which now supports string representation withsetObjectto ensure high-precision transmission. -
The
getColumnsmethod ofDatabaseMetaDatanow supports retrieval of column information for all tables under a specifiedcatalog.schema.
3.00.0.1
New Features
- Added support for methods on catalog operations such as
supportsSchemaandsupportsCatalog. - Added methods
setFetchDirectionandgetFetchDirectionfor setting and getting the direction of fetching rows of ResultSet. Note that DolphinDB JDBC only supportsResultSet.FETCH_FORWARD.
Improvements
- Optimized the return value of
getIdentifierQuoteString. - Added support for querying fields containing special character
$. - Added support for calling data type conversion methods with brackets within the
insert intostatement. - Added support for "NULL" or " " in the
insert intostatement when writing data to a DFS table. - Methods
executeQueryandexecuteUpdateofJDBCPreparedStatementclass support statements without placeholders. - Added support for calling
loadTablein theupdatestatement on DFS tables with classJDBCPreparedStatementorJDBCStatement. - Optimized the logic of method
clearParameterof theJDBCPreparedStatementclass.
Issues Fixed
- Fixed an issue where connection was established in unauthenticated mode if the JDBC URL only specified user or password. An error is now reported.
1.30.22.5
1.30.22.5
New Features
-
Added the following new methods to the
JDBCDataBaseMetaDataclass:setCatalogto set the database catalog name to select a subspace of the Connection object's database in which to work.getCatalogsto get the database catalogs.getTablesto get information of specific tables.getColumnsto get information of specific columns.
-
Added
getBigDecimalmethod to theJDBCResultclass to retrieve the value of specified column as BigDecimal type. It can be called in two ways:BigDecimal getBigDecimal(int columnIndex) throws SQLException; BigDecimal getBigDecimal(String columnLabel) throws SQLException; -
The
commit()androllback()methods ofJDBCConnectionclass do not support transactions at user level and return null by default. -
Added method
setMaxRowsto theJDBCStatementclass to set the upper limit for the number of records that aResultSetobject can contain. -
Added method
getMaxRowsto theJDBCStatementclass to get the specified upper limit for the number of records applied to theResultSetobject. -
The
insert intoclause ofJDBCPrepareStatementclass now writes data in batches instead of by record. -
The
insert intoclause ofJDBCPrepareStatementclass now supports inserting data to specific columns, and null values are written to the rest columns.