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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1.1
    • 3.2.3
    • kernel
    • 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

              solomax Maxim Solodovnik
              struberg Mark Struberg
              Votes:
              0 Vote for this issue
              Watchers:
              3 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