Better naming for unique constraints
------------------------------------
Key: OPENJPA-709
URL: https://issues.apache.org/jira/browse/OPENJPA-709
Project: OpenJPA
Issue Type: Improvement
Affects Versions: 1.2.0
Environment: SUN JDK 1.6.0_06 for Linux(amd64)
Reporter: Georgi Naplatanov
Priority: Trivial
An unique constraint name contains "uk_" prefix and combination of field's
names. In case two or more tables have unique constraints with the same
combination of fields, the generation of database's schema will fail, because
constraint name should be unique too.
It will be very nice if next versions of JPA specification will include
possibility to set name for particular constraint.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.