228 Commits

Author SHA1 Message Date
f28d169f10 Merge branch 'dev' into 1402_Changes 2024-10-28 14:02:45 +08:00
dc3905ba25 Merge branch 'chat2db:dev' into dev 2024-08-13 17:35:50 +08:00
30d25c6609 Fix Issue:#1490 2024-08-13 13:49:03 +08:00
d96bafb6dd Fix Issue:#1490 2024-08-13 11:48:13 +08:00
89e2eb30de Delete operations of functions 2024-08-03 14:39:09 +08:00
052a36b73e Update and delete operations of procedures 2024-07-30 18:36:27 +08:00
3a4cc4bd17 unit test 2024-07-27 13:44:11 +08:00
zgq
60e47c2132 refactor(chat2db-spi): replace Clob reading logic with IOUtils.toString 2024-07-16 14:45:39 +08:00
07320fb2e8 fix columnType error 2024-07-13 15:05:55 +08:00
493f934a2c fix columnType error 2024-07-11 13:56:32 +08:00
38fa3f100d fix oracle type columnSize QA 2024-07-10 14:54:40 +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
7a95f126b2 remove ';' in builder sql 2024-07-09 10:48:18 +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
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
50c6d17c72 Some typos and unit tests.
Unit tests for three classes: ConsoleServiceImpl、DashboardServiceImpl、DatabaseServiceImpl
2024-07-03 20:09:37 +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
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
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
zgq
cd16555c45 data export 2024-06-18 13:56:25 +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
4621d303ee switch 2024-06-12 11:00:32 +08:00
zgq
591188703a MysqlValueProcessor and OracleValueProcessor 2024-06-12 10:57:46 +08:00
4ea4c745f0 update sql error 2024-06-11 16:43:16 +08:00
8eb1cf66c2 update sql error 2024-06-06 10:30:45 +08:00
zgq
f0b90cab0d OracleValueProcessor 2024-06-05 20:17:33 +08:00