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

@UniqueConstraint and corresponding XML ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: