Skip to content
New issue

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

[Feature]提供saveAll和saveAllCommand #308

Open
TokgoRonin opened this issue Nov 1, 2023 · 0 comments
Open

[Feature]提供saveAll和saveAllCommand #308

TokgoRonin opened this issue Nov 1, 2023 · 0 comments
Labels
pending Postpone plans because of more important tasks

Comments

@TokgoRonin
Copy link
Contributor

希望提供 saveAllCommand()用以批量保存实体。当前版本jimmer内部还是使用循环单条upsert的方式,效率较低,希望提供一个fastInsert/batchInsert,直接批量保存实体。

当前我在项目中的实现方式是手动unload关联对象,然后批量保存孤单对象,再用回填的ID去设置关联对象,再批量保存关联对象。这样的方式在关联层级较深或关联对象比较多时,比较麻烦。

@babyfish-ct babyfish-ct added the pending Postpone plans because of more important tasks label Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending Postpone plans because of more important tasks
Projects
None yet
Development

No branches or pull requests

2 participants