OpenJPA
  1. OpenJPA
  2. OPENJPA-340

@UniqueConstraint and corresponding XML ignored

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Issue Links

          Activity

          Donald Woods made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Milosz Tylenda made changes -
          Link This issue relates to OPENJPA-1165 [ OPENJPA-1165 ]
          Pinaki Poddar made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Patrick Linskey made changes -
          Field Original Value New Value
          Fix Version/s 1.2.0 [ 12313102 ]
          Fix Version/s 1.1.0 [ 12312344 ]
          Patrick Linskey created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development