We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用
SELECT LAST_INSERT_ID();
获取自增序列
The text was updated successfully, but these errors were encountered:
已可以使用getGeneratedKeys的标准做法代替LAST_INSERT_ID(),不建议使用LAST_INSERT_ID()这样的非标准化SQL
Sorry, something went wrong.
如果使用mybatis 标签使用 useGeneratedKeys="true" keyProperty="id" 并不能获取到自增的主键id值
No branches or pull requests
使用
SELECT LAST_INSERT_ID();
获取自增序列
The text was updated successfully, but these errors were encountered: