You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/04/05 10:00:00 UTC
[jira] [Commented] (OPENJPA-2808) SchemaTool action DROP doesn't
drop Indexes created with @Index
[ https://issues.apache.org/jira/browse/OPENJPA-2808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17075775#comment-17075775 ]
ASF subversion and git services commented on OPENJPA-2808:
----------------------------------------------------------
Commit 20f682eb7e75fec97d41ed31b14de30322e67841 in openjpa's branch refs/heads/OPENJPA-2808-index-drop from Maxim Solodovnik
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=20f682e ]
[OPENJPA-2808] indicies are dropped in schema tool
> SchemaTool action DROP doesn't drop Indexes created with @Index
> ---------------------------------------------------------------
>
> Key: OPENJPA-2808
> URL: https://issues.apache.org/jira/browse/OPENJPA-2808
> Project: OpenJPA
> Issue Type: Bug
> Components: kernel
> Affects Versions: 3.1.1
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Priority: Major
> Fix For: 3.1.2
>
>
> When using {{@Index(name="IFK_SOMEFK",...}} we should also drop this when generating the DROP statement with our SchemaTool.
> e.g. when setting
> {noformat}
> <plugin>
> <groupId>org.apache.openjpa</groupId>
> <artifactId>openjpa-maven-plugin</artifactId>
> <version>${openjpa.version}</version>
> <configuration>
> <sqlAction>drop</sqlAction>
> </configuration>
> </plugin>
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)