Skip to content

Releases: dolphindb/api-java

2.00.11.1

25 Jan 01:29

Choose a tag to compare

New Feature

Added new method SimpleDBConnectionPool.

2.00.11.0

19 Jan 06:08

Choose a tag to compare

Note: The version number of DolphinDB Java API has been adjusted to improve user experience. The new version number aligns with DolphinDB Server 200 and is forward compatible.

New Features

  • Added parameter enableSeqNo to the run method of class DBConnection to enable/disable the sequence number tracking (seqNo) feature.
  • Added parameter enableLoadBalance to the connect method of class DBConnection to enable/disable load balancing in the high availability mode.
  • Added support for the SLF4J logging framework.
  • The DURATION data type supports the identifier of trading calendar.
  • The PartitionedTableAppender class supports writing data of BLOB type.

Enhancements

  • Optimized the behavior of batch writing for MultithreadedTableWriter.
  • Refactored public DBConnection(boolean asynchronousTask, boolean useSSL, boolean compress, boolean usePython, boolean isUrgent, boolean isReverseStreaming, SqlStdEnum sqlStd) to private.
  • Enhanced error messages for the ThreadPooledClient class when threadCount is negative.
  • Updated code usage examples.

Bug Fixes

  • Fixed an issue where the toString() method of the ThreadStatus class in the MultithreadedTableWriter did not correctly output the value of sendFailedRows.
  • Fixed an issue where communication exceptions occurred when uploading strings with “\0“ during serialized transmission.

1.30.22.4

14 Nov 08:55

Choose a tag to compare

New Features

  • The MultithreadedTableWriter class now supports creating array vectors of the following types: boolean[], byte[], char[], short[], int[], long[], double[], and float[].
  • The ThreadPooledClient class now supports a public constructor ThreadPooledClient(int threadCount) that allows the publisher to push streaming data using the connection established by the subscriber.
  • The PollingClient class now supports a default constructor PollingClient() that allows the publisher to push streaming data using the connection established by the subscriber.
  • New features for the BasicTable class:
    • Adding duplicate columns with addColumn is no longer allowed;
    • The replaceColumn method can replace a single column;
    • The replaceColName method can rename a single column.

Improvements

  • Optimized the DBConnection class:
    • Renamed the parameter userID to userId in method login;
    • Renamed method getUserID to getUserId.

Bug Fixes

  • Fixed incorrect results returned by method Append for BasicDecimal32Vector, BasicDecimal64Vector, and BasicDecimal128Vector types.
  • Fixed an issue where calling setNull on an instance of the BasicSymbolVector class without any null values would cause errors, disconnections, or exceptions when later retrieving data.