3.00.6
3.00.6.1
New Features
- The insert statement now supports using backticks (
`) to enclose table names and column names. This feature is only available when connected to DolphinDB Server version 3.00.5.1 or later. getUpdateCountmethod now supports retrieving the number of affected rows from write functions such astableInsert,tableUpsert, andupsert!, or from an integer value returned by the last statement of a script.- Java BigDecimal values can now be directly converted to DolphinDB DECIMAL values.
- Optimized the
executeQuery,executeUpdate, andexecuteBatchinterfaces ofPreparedStatement, enhancing SQL injection prevention logic.
- Fixed an issue where parsing failed when converting String values to LocalDateTime values in insert statements.
-
Fixed an issue where function expressions such as
now()could not be correctly recognized as inserted values when parsingINSERT ... VALUESstatements.Fixed an issue where numeric read interfaces such as
getLong()andgetInt()inResultSetcould not correctly convert string-type numeric results and might throw type conversion exceptions.
3.00.6.0
-
Improved
DatabaseMetaDatainterface semantics: Enhanced metadata queries forgetSchemas,getTables, andgetColumnsto support catalogs, DFS tables, and in-memory tables more comprehensively. Added standard fields togetColumns, includingCOLUMN_SIZE,DECIMAL_DIGITS,REMARKS,IS_NULLABLE,IS_AUTOINCREMENT,ORDINAL_POSITION, andSQL_DATA_TYPE. -
Refined
ResultSetMetaDatacolumn information: UpdatedgetColumnDisplaySize,getPrecision, andgetScaleto return accurate display widths, precision, and scale based on data types. ForDecimaltypes, precision is now defined as:DECIMAL32= 9,DECIMAL64= 18, andDECIMAL128= 38. -
Enhanced
ResultSetstandard read semantics:getClobnow correctly returns column values. Date and time retrieval methods usingCalendarparameters now return the expected values.getTypenow returnsTYPE_FORWARD_ONLYfor streaming result sets, while maintaining scrollable types for standard result sets.
- Fixed an issue where schemas or table names containing underscores were not
displayed correctly when connecting the JDBC driver to the IntelliJ IDEA
Database tool. Improved underscore escape handling in
DatabaseMetaData#getTablesandgetColumnsto support browsing schemas, tables, and columns with underscores in IDEA. - Resolved a failure that occurred when executing a new query after fetching a large result set, and fixed pagination display issues in IntelliJ IDEA. Optimized the reading and closing logic for streaming result sets; these are now explicitly declared as forward-only to prevent IDEA from attempting unsupported random pagination.
- Fixed identifier processing errors for certain SQL statements executed in IntelliJ IDEA. Optimized case sensitivity handling for SQL keywords and table aliases to prevent parsing exceptions in specific scenarios.
