Releases: dolphindb/api-java
Releases · dolphindb/api-java
2.00.11.1
New Feature
Added new method SimpleDBConnectionPool.
2.00.11.0
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
runmethod of classDBConnectionto enable/disable the sequence number tracking (seqNo) feature. - Added parameter enableLoadBalance to the
connectmethod of classDBConnectionto 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
PartitionedTableAppenderclass 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
ThreadPooledClientclass when threadCount is negative. - Updated code usage examples.
Bug Fixes
- Fixed an issue where the
toString()method of theThreadStatusclass in theMultithreadedTableWriterdid 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
New Features
- The
MultithreadedTableWriterclass now supports creating array vectors of the following types: boolean[], byte[], char[], short[], int[], long[], double[], and float[]. - The
ThreadPooledClientclass now supports a public constructorThreadPooledClient(int threadCount)that allows the publisher to push streaming data using the connection established by the subscriber. - The
PollingClientclass now supports a default constructorPollingClient()that allows the publisher to push streaming data using the connection established by the subscriber. - New features for the
BasicTableclass:- Adding duplicate columns with
addColumnis no longer allowed; - The
replaceColumnmethod can replace a single column; - The
replaceColNamemethod can rename a single column.
- Adding duplicate columns with
Improvements
- Optimized the
DBConnectionclass:- Renamed the parameter userID to userId in method
login; - Renamed method
getUserIDtogetUserId.
- Renamed the parameter userID to userId in method
Bug Fixes
- Fixed incorrect results returned by method
Appendfor BasicDecimal32Vector, BasicDecimal64Vector, and BasicDecimal128Vector types. - Fixed an issue where calling
setNullon an instance of theBasicSymbolVectorclass without any null values would cause errors, disconnections, or exceptions when later retrieving data.