821 Commits

Author SHA1 Message Date
zgq
fbf34e7aa8 fix(chat2db-oracle): correct timestamp scale 2024-07-09 17:27:13 +08:00
zgq
14b5ba519c fix(chat2db): fix oracle long raw null 2024-07-09 16:04:58 +08:00
zgq
14777c784c fix(JDBCDataValue): handle null bytes in getBlobHexString
Avoid NullPointerException by checking for null byte array before encoding
in getBlobHexString method.

fix(OracleDBManage): properly quote object names in SQL builder
2024-07-09 15:02:22 +08:00
zgq
ea5a7e89ff refactor(OracleDBManage): fix get tableDDL 2024-07-09 14:35:13 +08:00
zgq
0f23e12e50 refactor(Oraclesql-builder): wrap objectName 2024-07-09 11:58:08 +08:00
ab96987d92 remove ';' in builder sql 2024-07-09 11:52:53 +08:00
7a95f126b2 remove ';' in builder sql 2024-07-09 10:48:18 +08:00
6552f2dc50 Some typos and unit tests. 2024-07-08 22:20:21 +08:00
19a9060b1e Some typos and unit tests. 2024-07-08 22:10:31 +08:00
874914d689 Value processor remove base 2024-07-08 22:02:44 +08:00
50636792a7 Value processor remove base 2024-07-08 21:18:39 +08:00
5370cea7f1 Value processor remove base 2024-07-08 19:34:08 +08:00
zgq
615c1bfcd5 refactor(JDBCDataValue): optimize line separator usage 2024-07-08 19:22:03 +08:00
zgq
17f2577fa3 Merge remote-tracking branch 'origin/oracle-value-processor' into oracle-value-processor 2024-07-08 19:17:41 +08:00
zgq
2d8f9baa77 fix(sql-builder): escape line 2024-07-08 19:17:23 +08:00
0d29c78cc5 Merge branch 'dev' into oracle-value-processor 2024-07-08 17:03:50 +08:00
zgq
ec9121bf35 fix(chat2db): ensure proper escaping of string values in SQL queries
String values in SQL queries are now properly escaped to prevent potential security issues
and incorrect query syntax. This update affects the JDBC value processing logic and the
way columns are built into SQL queries, streamlining the escaping mechanism for various
data types.

The changes include:
- Removal of unnecessary null checks that were redundant with Objects.isNull().
- Streamlined string escaping logic using EasyStringUtils.escapeAndQuoteString().- Utilization of the stream API for more concise and readable code.

BREAKING CHANGE: If any external code relies on the previous behavior of not escaping
string values, it must now handle the escaped values appropriately to avoid syntax
errors or potential SQL injection vulnerabilities.
2024-07-08 17:01:42 +08:00
cfffc0a816 Merge remote-tracking branch 'origin/dev' into dev 2024-07-08 10:14:04 +08:00
805e703f69 add if remove comment 2024-07-08 10:13:42 +08:00
zgq
6e3b58a8f1 optimize MysqlYearProcessor 2024-07-07 09:59:51 +08:00
zgq
44a0e6feb5 fix(oracledb): correct timestamp processing and add TimeStampLTZ support 2024-07-07 08:40:31 +08:00
9d28110135 Merge branch 'dev' into oracle-value-processor 2024-07-05 15:28:31 +08:00
zgq
8bf09448f2 .
.
2024-07-05 15:26:57 +08:00
231d692e6c fix issue:#1390 2024-07-04 16:41:14 +08:00
50c6d17c72 Some typos and unit tests.
Unit tests for three classes: ConsoleServiceImpl、DashboardServiceImpl、DatabaseServiceImpl
2024-07-03 20:09:37 +08:00
f152df2ae7 Some typos and unit tests.
Unit tests for two classes: ChartServiceImpl and ConfigServiceImpl
2024-07-02 16:58:46 +08:00
820e2d5186 Some typos and unit tests.
Unit tests for two classes: ChartServiceImpl and ConfigServiceImpl
2024-07-02 16:00:21 +08:00
debbf3ab82 copy and delete Table 2024-06-30 00:07:05 +08:00
zgq
b5addde7f8 MysqlYearProcessor 2024-06-28 22:30:14 +08:00
zgq
786dcd701d Revert "Revert "optimize MysqlValueProcessor & OracleValueProcessor""
This reverts commit c4955bc72bcafc2fb8069b121c413cdf78c8ba64.
2024-06-28 22:28:02 +08:00
zgq
c4955bc72b Revert "optimize MysqlValueProcessor & OracleValueProcessor"
This reverts commit 0d80a36a6fc11c6b360387c7a998f602ed2a0ab4.
2024-06-28 22:27:05 +08:00
zgq
0d80a36a6f optimize MysqlValueProcessor & OracleValueProcessor 2024-06-28 22:23:48 +08:00
3bf8fab69d copy and delete Table 2024-06-27 21:35:12 +08:00
57f0cfa2db copy and delete Table 2024-06-27 11:50:55 +08:00
0152ec4ead export info 2024-06-26 22:54:02 +08:00
9a6e89dfb4 export info 2024-06-26 22:41:48 +08:00
028c3ec4ac export info 2024-06-26 16:37:41 +08:00
8691c1955f 修复字段不存在的问题 2024-06-25 21:29:14 +08:00
737c1fb284 batch export 2024-06-25 20:53:33 +08:00
5d80e3837a batch export 2024-06-23 21:23:24 +08:00
8edfa686d4 batch export 2024-06-21 19:54:09 +08:00
zgq
2bfbbaeb87 fix-exportTableData 2024-06-21 18:29:12 +08:00
9421c3d3f4 batch export 2024-06-21 17:21:28 +08:00
96e6340f8c Merge pull request #1432 from openai0229/data-import
data export
2024-06-20 20:20:46 +08:00
56b76665f4 通义千问修改 2024-06-20 17:22:13 +08:00
zgq
cd16555c45 data export 2024-06-18 13:56:25 +08:00
zgq
2fcf18d0d9 2024-06-17 17:51:46 +08:00
5ac52afc80 Merge branch 'dev' into data-import 2024-06-15 19:27:30 +08:00
cd58f82f39 [fix]:sql解析兼容xml类型 2024-06-14 20:49:42 +08:00
zgq
153ea3aecb fix(chat2db-dm): correct spelling of NUMERIC in DMColumnTypeEnum 2024-06-13 15:17:20 +08:00