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

SchemaTool action DROP doesn't drop Indexes created with @Index

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.1.3
    • Component/s: kernel
    • Labels:
      None

      Description

      When using @Index(name="IFK_SOMEFK",... we should also drop this when generating the DROP statement with our SchemaTool.

      e.g. when setting

      <plugin>
          <groupId>org.apache.openjpa</groupId>
          <artifactId>openjpa-maven-plugin</artifactId>
          <version>${openjpa.version}</version>
          <configuration>
              <sqlAction>drop</sqlAction>
          </configuration>
      </plugin>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                solomax Maxim Solodovnik
                Reporter:
                struberg Mark Struberg
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m