Aias00 opened a new issue, #6718:
URL: https://github.com/apache/shenyu/issues/6718
- severity: Medium
- files: `shenyu-admin/src/main/resources/mappers/meta-data-sqlmap.xml:200`;
also `namespace-plugin-rel-sqlmap.xml:98`
- description: `insert` sets `namespace_id` via
`#{namespaceId,jdbcType=TINYINT}`, but `meta_data.namespace_id` is
`varchar(50)` and the resultMap/other statements use `jdbcType=VARCHAR`.
Declaring TINYINT for a String property on a VARCHAR column can produce a
type-handler mismatch or wrong null handling on drivers that honor jdbcType.
- impact: Insert path for meta_data carries an incorrect type binding;
strict type modes may reject/transform the value.
- suggested_fix: Change to `#{namespaceId,jdbcType=VARCHAR}`.
- confidence: High
- related_existing: none.
---
## Low (7 findings)
---
_Identified during the 2026-08-02 deep re-scan; full list in
[`docs/scan2-2026-08-02/06-medium-tiers.md`](docs/scan2-2026-08-02/06-medium-tiers.md)._
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]