Files
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
..