-
Notifications
You must be signed in to change notification settings - Fork 23
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
bug: 1082 use entity manager instead of repositories to fix duplicate… #1181
bug: 1082 use entity manager instead of repositories to fix duplicate… #1181
Conversation
Integration Test Results350 tests 349 ✅ 1m 45s ⏱️ Results for commit c6c22bc. ♻️ This comment has been updated with latest results. |
Unit Test Results208 tests 208 ✅ 20s ⏱️ Results for commit c6c22bc. ♻️ This comment has been updated with latest results. |
✅ No Dependency Check findings were found |
e6229cd
to
6920aed
Compare
dd4c29c
to
c6c22bc
Compare
try { | ||
repository.save(asset); | ||
} catch (DataIntegrityViolationException ex) { | ||
//retry save in case of ERROR: duplicate key value violates unique constraint "asset_pkey" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add proper info message what happened here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Quality Gate passed for 'Trace-X Root'Issues Measures |
Quality Gate passed for 'eclipse-tractusx_traceability-foss-frontend'Issues Measures |
… key errors
Description
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:
resolves #1082