You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Michael Dick (JIRA)" <ji...@apache.org> on 2011/02/21 15:55:38 UTC

[jira] Created: (OPENJPA-1948) SynchronizeMappings does not manipulate indexes

SynchronizeMappings does not manipulate indexes
-----------------------------------------------

                 Key: OPENJPA-1948
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1948
             Project: OpenJPA
          Issue Type: Bug
          Components: jdbc
    Affects Versions: 2.0.1, 2.1.0
            Reporter: Michael Dick


The SynchronizeMappings config option provides a convenient front end to the forward mapping tool and schema tool. These tools should be able to manipulate indexes with an invocation similar to this: 

<property name="openjpa.jdbc.SynchronizeMappings" value=""buildSchema(ForeignKeys=true,Indexes=true,SchemaAction='drop,add'"/>

In practice the indexes are ignored (tested by adding to the TestDelimitedJoinAnnotation and TestXMLDelimitedJoinAnnotation test cases). I have not tested with the @Index annotation so this problem may be limited to implicit indexes. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira