Uploaded image for project: 'Hibernate ORM'
  1. Hibernate ORM
  2. HHH-8092

Configuration#generateSchemaUpdateScript does not create unique constraints

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.0.Beta1, 4.2.1
    • Component/s: None
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true

      Description

      HHH-7797 - Inconsistent logic by uses of Dialect#supportsNotNullUnique Complete forced all unique constraints to be created in "alter table" statements. This is not wired into Configuration#generateSchemaUpdateScript as it is in generateSchemaCreationScript. See comments on HHH-7797 - Inconsistent logic by uses of Dialect#supportsNotNullUnique Complete

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: