[ https://issues.apache.org/jira/browse/OPENJPA-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17947540#comment-17947540 ]
Paulo Cristovão de Araújo Silva Filho commented on OPENJPA-2936: ---------------------------------------------------------------- [~solomax], could you please check this PR? > Usage of JPA @Index without name prevents creating schema and queries > --------------------------------------------------------------------- > > Key: OPENJPA-2936 > URL: https://issues.apache.org/jira/browse/OPENJPA-2936 > Project: OpenJPA > Issue Type: Bug > Affects Versions: 4.0.1, 4.1.0 > Reporter: Paulo Cristovão de Araújo Silva Filho > Priority: Major > > When a given entity has the > {code:java} > @Index(columnList="COL1, COL2"){code} > annotation without giving a name, the schema generation or reflection fails > due to the fact that the mappingtool is not able to define the given name. > > Tested on 4.0.1 and 4.1.0 changing > {code}org.apache.openjpa.persistence.jdbc.annotations.EntityWithIndices{code} > - adding an unnamed index. > I will soon propose a fix in a PR. -- This message was sent by Atlassian Jira (v8.20.10#820010)