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

Add Support to Upsert/Insert Ignore on PDB #389

Merged
merged 7 commits into from
Jul 6, 2023

Conversation

victorcmg
Copy link
Contributor

  • Adds support for the following engines: MySQL, DB2.
  • Adds an exception to being thrown when a merge is not possible and use a MappedEntity without an UPSERT statement.

victorcmg-fdz and others added 4 commits June 22, 2023 10:53
- Makes the implementation of DatabaseEngine optional, so it does not break compatibility with other library clients.
- Addresses comments: changes message in the default method implementation.
- Adds support for the following engines: MySQL, DB2.
- Adds an exception to being thrown when a merge is not possible and use a `MappedEntity` without an `UPSERT` statement.
Copy link

@diogo-anjos-fdz diogo-anjos-fdz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a couple of comments.

Copy link

@diogo-anjos-fdz diogo-anjos-fdz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! but there are some unit tests failing, please review this change:
5ad2cb6#diff-bc62c5f9b00d089dc441b48954a5fee8fc5f051ef41115def9ac371e580a9285R519

@diogo-anjos-fdz diogo-anjos-fdz self-requested a review June 29, 2023 14:38
@diogo-anjos-fdz diogo-anjos-fdz dismissed their stale review June 29, 2023 14:40

some unit tests need first to be addressed

- Fix H2Engine variable initialization
- Adds `max-parallel` property to only run one JVM per run.
@diogo-anjos-fdz
Copy link

Great, great troubleshooting work Victor! 😃 Kudos! 💪

@diogo-anjos-fdz diogo-anjos-fdz merged commit 963cd30 into feedzai:master Jul 6, 2023
33 checks passed
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.

None yet

3 participants