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

Fix reloading entities ids (fixes: #52) #86

Merged
merged 24 commits into from
Feb 17, 2024
Merged

Conversation

videokojot
Copy link
Owner

Fixes: #52

Currently reload of the ids is dependent on the order (and also count) of the returned ids from db (which is not guaranteed). This add artificial column which maps original index in the input entities list to db generated id to guarantee correctness of returned id.

Implemneted for SQL Server. Before merge fixes are still needed in the MySQL

@videokojot videokojot merged commit e0f0d89 into main Feb 17, 2024
3 checks passed
@videokojot videokojot deleted the feature/index-to-id-mapping branch February 17, 2024 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix reload entities
1 participant