The test case is not valid as it does not test the Auto DDL script generation. It does not use Persistence.xml. The test case is not about unique constraint Violation but rather invalid DDL generation.
ALTER TABLE xyz DROP CONSTRAINT
is not a valid SQL syntax for MySQL. |