Releases: dolphindb/jdbc
3.00.2.1
3.00.2.0
New Features
-
Added support for method
setQueryTimeout(int seconds)
inJDBCStatement
andJDBCPreparedStatement
for setting SQL query timeout. -
Added reconnect parameter to
JDBCConnection
for 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,
ResultSet
may 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
getResult
method ofJDBCResultSet
has been marked as deprecated. -
PreparedStatement
aligns the handling logic of DECIMAL 32/64 data with DECIMAL128, which now supports string representation withsetObject
to ensure high-precision transmission. -
The
getColumns
method ofDatabaseMetaData
now 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
supportsSchema
andsupportsCatalog
. - Added methods
setFetchDirection
andgetFetchDirection
for 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 into
statement. - Added support for "NULL" or " " in the
insert into
statement when writing data to a DFS table. - Methods
executeQuery
andexecuteUpdate
ofJDBCPreparedStatement
class support statements without placeholders. - Added support for calling
loadTable
in theupdate
statement on DFS tables with classJDBCPreparedStatement
orJDBCStatement
. - Optimized the logic of method
clearParameter
of theJDBCPreparedStatement
class.
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
JDBCDataBaseMetaData
class:setCatalog
to set the database catalog name to select a subspace of the Connection object's database in which to work.getCatalogs
to get the database catalogs.getTables
to get information of specific tables.getColumns
to get information of specific columns.
-
Added
getBigDecimal
method to theJDBCResult
class 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 ofJDBCConnection
class do not support transactions at user level and return null by default. -
Added method
setMaxRows
to theJDBCStatement
class to set the upper limit for the number of records that aResultSet
object can contain. -
Added method
getMaxRows
to theJDBCStatement
class to get the specified upper limit for the number of records applied to theResultSet
object. -
The
insert into
clause ofJDBCPrepareStatement
class now writes data in batches instead of by record. -
The
insert into
clause ofJDBCPrepareStatement
class now supports inserting data to specific columns, and null values are written to the rest columns.