288 Commits

Author SHA1 Message Date
zgq
b332bd2d67 Temporarily cancel the export trigger 2024-07-11 16:40:06 +08:00
493f934a2c fix columnType error 2024-07-11 13:56:32 +08:00
zgq
3961610e50 feat(chat2db-oracle): exclude PUINDEX 2024-07-10 20:42:16 +08:00
zgq
2560061e68 feat(chat2db-oracle): fix oracle DDL 2024-07-10 20:05:14 +08:00
c10a7fea86 fix oracle columnType 2024-07-10 15:04:04 +08:00
212a527fc0 fix oracle type columnSize QA 2024-07-10 15:00:58 +08:00
38fa3f100d fix oracle type columnSize QA 2024-07-10 14:54:40 +08:00
025032cd05 oracle column Type error fix 2024-07-10 14:00:54 +08:00
zgq
cfcaa5b112 fix(chat2db-oracle): Temporary processing of binary data 2024-07-09 22:11:28 +08:00
zgq
d70c4754d1 fix(chat2db-oracle): fix oracle function struct 2024-07-09 21:02:52 +08:00
zgq
d5c72b955c fix(chat2db-oracle): fix schema struct export 2024-07-09 20:51:49 +08:00
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
7a95f126b2 remove ';' in builder sql 2024-07-09 10:48:18 +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
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
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
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
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
zgq
153ea3aecb fix(chat2db-dm): correct spelling of NUMERIC in DMColumnTypeEnum 2024-06-13 15:17:20 +08:00
c560f7ed0b 不支持的类型无法使用AI 2024-06-13 09:53:34 +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
3784118ce3 Merge pull request #1421 from openai0229/fix-dm-ddl
Fix dm ddl
2024-06-11 21:12:13 +08:00
zgq
4e1f21b461 fix(chat2db-dm): add logging and handle exceptions when fetching index DDL 2024-06-11 20:32:53 +08:00
zgq
db18d24570 fix-dm-ddl 2024-06-11 20:07:17 +08:00
8b47d1fb15 update sql error 2024-06-11 13:01:02 +08:00
zgq
f0b90cab0d OracleValueProcessor 2024-06-05 20:17:33 +08:00
46740b8552 update sql error 2024-06-05 14:28:24 +08:00