openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Dick (JIRA)" <>
Subject [jira] Created: (OPENJPA-1948) SynchronizeMappings does not manipulate indexes
Date Mon, 21 Feb 2011 14:55:38 GMT
SynchronizeMappings does not manipulate indexes

                 Key: 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:


View raw message