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