Community
Participate
Working Groups
Created attachment 146824 [details] add supportsUniqueKeyConstraints() check before writing ALTER TABLE DROP CONSTRAINTs to SQL file Even with supportsUniqueKeyConstraints to false I see ALTER TABLE DROP CONSTRAINT's in generated DDL files. The path SchemaManager#dropConstraints - TableDefinition#dropConstraintsOnDatabase ... TableDefinition#dropForeignConstraintsOnDatabase checks for supportsForeignKeyConstraints before dropping the constraints, while the path SchemaManager#dropConstraints - TableDefinition#dropConstraintsOnDatabase ... TableDefinition#dropConstraints does not.
Created attachment 146999 [details] Patch for bugs 289019-289023
Checked in fix for bug 289019, bug 289020, bug 289021 and bug 289023 These fixes are changes suggested by the bug filer and are reasonably simple. I have reviewed the changes as they were added and run the existing tests to ensure they do not break anything.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink