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

DatabaseEngine.updateEntity always drops/adds foreign keys even if the schema didn't change #61

Open
fdz-joaomiguel opened this issue Jul 13, 2017 · 0 comments

Comments

@fdz-joaomiguel
Copy link

The expected behavior of DatabaseEngine.updateEntity, with schema policy create, is that if the entity does not need to be updated no DDL is executed; however, the current implementation (in AbstractDatabaseEngine) is always dropping all foreign keys at the beginning and adding them back at the end.
Calling DatabaseEngine.updateEntity should be a no-op if the entity did not change.

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

No branches or pull requests

1 participant