例:
insert into demo(id, name, create_by, update_by);
create_by和update_by是需要自动填充的
Contributor guide
Tech stack
javasql
Domain
backenddatabase
Issue type
bug
DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
3
Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
1-3 hours
Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
stale
ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
clear
Prerequisites
JavaAPIJSONSQL auto fillSQLConfig class
Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
60
Research direction
Investigate the SQLConfig class, specifically the getUserIdKey method and how it interacts with the auto fill logic for created by and update by fields. Review the comments in the issue (https://github.com/Tencent/APIJSON/issues/376) for any maintainer responses. Look at the insert handling code in the relevant ORM mapper to understand how the auto fill is triggered and why overriding getUserIdKey causes the loss of created by.