JDBC(Java Database Connectivity)中的 getGeneratedKeys 方法主要用于获取由数据库自动生成的键值。—-这个未能支持录制捕获
Closed this issue · 1 comments
elevemonkey commented
Search before asking
- I have searched the existing issues before asking.
AREX Test Service
AREX Java Agent (arextest/arex-agent-java)
Current Behavior
应用服务通过mybatisPuls insert插入一条数据,返回一个自增id,当前该id没有被录下mock,只mock了影响条数
Expected Behavior
希望支持mybatisPuls insert插入返回id的mock
Steps To Reproduce
1.录制,2回放(回放显示对比失败,到数据库的入参缺少ID,该id是第一条插入语句的返回,录制时第一条插入语句的返回未成功mock)
Anything else
No response
Are you willing to submit a pull request to fix on your own?
- Yes I am willing to submit a pull request on my own!
elevemonkey commented