Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-340

@UniqueConstraint and corresponding XML ignored

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      OpenJPA ignores @UniqueConstraint annotations (and the corresponding XML declaration) when generating database schemas. This should be rectified.

      A workaround is to set the -ignoreErrors flag to true when running mappingtool, which will let schema creation continue despite the error.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                pcl Patrick Linskey
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: