openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Georgi Naplatanov (JIRA)" <>
Subject [jira] Created: (OPENJPA-709) Better naming for unique constraints
Date Mon, 01 Sep 2008 07:41:44 GMT
Better naming for unique constraints

                 Key: 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.

View raw message